aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GUI/Control.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-05 08:43:35 -0400
committerMichael <[email protected]>2017-07-05 08:43:35 -0400
commit4f41f51267e04d752d3d438f70f06a7a37975f5d (patch)
tree22036cb834d9915d44c527da55adfdab58a3d529 /ShiftOS.Frontend/GUI/Control.cs
parent2adb8859edb95921e8f6d3cbb41fdc349825d6f8 (diff)
downloadshiftos_thereturn-4f41f51267e04d752d3d438f70f06a7a37975f5d.tar.gz
shiftos_thereturn-4f41f51267e04d752d3d438f70f06a7a37975f5d.tar.bz2
shiftos_thereturn-4f41f51267e04d752d3d438f70f06a7a37975f5d.zip
HEAVILY optimize skins
Diffstat (limited to 'ShiftOS.Frontend/GUI/Control.cs')
-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;