aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GUI
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Frontend/GUI')
-rw-r--r--ShiftOS.Frontend/GUI/Control.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/GUI/Control.cs b/ShiftOS.Frontend/GUI/Control.cs
index 31a3dd0..b502a71 100644
--- a/ShiftOS.Frontend/GUI/Control.cs
+++ b/ShiftOS.Frontend/GUI/Control.cs
@@ -393,6 +393,8 @@ namespace ShiftOS.Frontend.GUI
gfx.Width = ctrl.Width;
gfx.Height = ctrl.Height;
ctrl.Paint(gfx);
+ gfx.X = draw_x;
+ gfx.Y = draw_y;
}
gfx.Width = draw_width;
gfx.Height = draw_height;