瀏覽代碼

Merge branch 'main' of https://github.com/NiroUwU/Questionable-Oerbital-Mechanics into testing

tags/v0.0.6_dev
Madiwka 2 年之前
父節點
當前提交
cec04960f7
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      main.lua
  2. +1
    -1
      src/class/Textbox.lua

+ 1
- 1
main.lua 查看文件

@@ -34,7 +34,7 @@ function love.load()

-- Textboxes:
textbox = {
tutorial = Textbox(40, 40, width-80, height-80, text.tutorial, "center", {255, 255, 255}, {0, 0, 0})
tutorial = Textbox(40, 40, width-80, height-80, getText(text.tutorial), "center", {255, 255, 255}, {0, 0, 0})
}




+ 1
- 1
src/class/Textbox.lua 查看文件

@@ -8,7 +8,7 @@ function Textbox:init(tempX, tempY, tempW, tempH, tempText, tempAlign, tempTC, t
self.h = tempH

-- Text:
self.text = calc.getText(tempText)
self.text = tempText
self.align = tempAlign

-- Colours:


Loading…
取消
儲存