mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
fixed a bug where quickslot and itemgrid would respond to scrollX instead of scrollY
This commit is contained in:
@@ -15,10 +15,10 @@ open class UITitleWallOfText(private val text: List<String>) : UICanvas() {
|
||||
|
||||
|
||||
private val textAreaHMargin = 48
|
||||
override var width = App.scr.width - UIRemoCon.remoConWidth - textAreaHMargin
|
||||
override var width = 600
|
||||
override var height = App.scr.height - textAreaHMargin * 2
|
||||
private val textArea = UIItemTextArea(this,
|
||||
UIRemoCon.remoConWidth, textAreaHMargin,
|
||||
(App.scr.width - width) / 2, textAreaHMargin,
|
||||
width, height
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user