From 0c19eab77aadc6776f2fa174977bc455a9991dd2 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Tue, 28 Jan 2020 16:18:30 +0100 Subject: [PATCH] Cleanup --- Sources/arm/ui/UITrait.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/arm/ui/UITrait.hx b/Sources/arm/ui/UITrait.hx index 427a12ae..23ea7708 100644 --- a/Sources/arm/ui/UITrait.hx +++ b/Sources/arm/ui/UITrait.hx @@ -896,8 +896,7 @@ class UITrait { g.end(); ui.begin(g); - var panelx = (iron.App.x() - toolbarw); - if (ui.window(toolbarHandle, panelx, headerh, toolbarw, System.windowHeight() - headerh)) { + if (ui.window(toolbarHandle, 0, headerh, toolbarw, System.windowHeight() - headerh)) { ui._y += 2; ui.imageScrollAlign = false;