From 23b3cedf7d05916a11c2643cbe78156693056148 Mon Sep 17 00:00:00 2001 From: brandman211 Date: Fri, 11 May 2012 21:11:29 +0000 Subject: [PATCH] Removed the now redundant TargetZoomFactor scaling for drawRectangle. Drawn shapes now scale nicely. Whether or not text should be drawn this way is a worthwhile discussion IMO, but as zeromus has said, it would require text to be drawn in the same way like shapes. --- BizHawk.MultiClient/LuaImplementation.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BizHawk.MultiClient/LuaImplementation.cs b/BizHawk.MultiClient/LuaImplementation.cs index f6be4d8a7f..35668d2566 100644 --- a/BizHawk.MultiClient/LuaImplementation.cs +++ b/BizHawk.MultiClient/LuaImplementation.cs @@ -519,10 +519,10 @@ namespace BizHawk.MultiClient { try { - int int_x = LuaInt(X) * Global.Config.TargetZoomFactor; - int int_y = LuaInt(Y) * Global.Config.TargetZoomFactor; - int int_width = LuaInt(width) * Global.Config.TargetZoomFactor; - int int_height = LuaInt(height) * Global.Config.TargetZoomFactor; + int int_x = LuaInt(X); + int int_y = LuaInt(Y); + int int_width = LuaInt(width); + int int_height = LuaInt(height); g.DrawRectangle(GetPen(line), int_x, int_y, int_width, int_height); if (background != null) g.FillRectangle(GetBrush(background), int_x, int_y, int_width, int_height);