streamer mode wip

This commit is contained in:
minjaesong
2021-10-06 00:18:39 +09:00
parent 907dc9a936
commit 2c6dc8750a
19 changed files with 82 additions and 57 deletions

View File

@@ -44,7 +44,7 @@ class UILoadDemoSavefiles : UICanvas() {
}
override var width: Int
get() = App.scr.width
get() = Toolkit.drawWidth
set(value) {}
override var height: Int
get() = App.scr.height
@@ -107,7 +107,7 @@ class UILoadDemoSavefiles : UICanvas() {
// read savegames
var savegamesCount = 0
App.savegames.forEach { skimmer ->
val x = uiX
val x = uiX + if (App.getConfigBoolean("fx_streamerslayout")) App.scr.chatWidth / 2 else 0
val y = titleTopGradEnd + cellInterval * savegamesCount
try {
addUIitem(UIItemDemoSaveCells(this, x, y, skimmer))