summaryrefslogtreecommitdiff
path: root/plugingui/nativewindow_cocoa.mm
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-11-15 18:01:12 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-11-15 18:01:12 +0100
commit7d14ca9cc2449448ab19d8f0daf8c8a66e4cefa7 (patch)
tree8f5dd06972f084efa856b7d1900891d18f584f1d /plugingui/nativewindow_cocoa.mm
parent2a97037fcc57415151b7f69585772d6e774c8f04 (diff)
Fix OSX warning.
Diffstat (limited to 'plugingui/nativewindow_cocoa.mm')
-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)