summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/nativewindow_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/nativewindow_cocoa.mm b/plugingui/nativewindow_cocoa.mm
index d8e889a..79a2262 100644
--- a/plugingui/nativewindow_cocoa.mm
+++ b/plugingui/nativewindow_cocoa.mm
@@ -719,7 +719,7 @@ void NativeWindowCocoa::updateLayerOffset()
if(native_window)
{
auto r1 = [priv->parent_view frame];
- auto r2 = [priv->view frame];
+ //auto r2 = [priv->view frame];
CATransform3D t = [[priv->view layer] transform];
if(t.m42 != -r1.origin.y)