Move quicksearch bar in pattern monitor to not overlap close button

This commit is contained in:
DBotThePony 2023-07-18 13:37:16 +07:00
parent 1ee071bfdb
commit bafe74ea24
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -54,7 +54,9 @@ class MatterPanelScreen(
val controls = DeviceControls(this, frame)
LargeBooleanRectangleButtonPanel(this, controls,
LargeBooleanRectangleButtonPanel(
this,
controls,
prop = menu.isAscendingGS,
skinElementActive = Widgets18.ARROW_UP,
skinElementInactive = Widgets18.ARROW_DOWN,
@ -91,7 +93,7 @@ class MatterPanelScreen(
object : TextInputPanel<MatterPanelScreen>(this@MatterPanelScreen, frame) {
init {
width = frame.width * 0.4f
x = frame.width - width - FramePanel.PADDING
x = frame.width - width - FramePanel.PADDING - 6f
y = 4f
placeholder = TranslatableComponent("otm.gui.quicksearch")
}