浏览代码

remove commented code.

Dan Walmsley 5 年之前
父节点
当前提交
119a64a1fb
共有 1 个文件被更改,包括 0 次插入14 次删除
  1. 0 14
      native/Avalonia.Native/src/OSX/window.mm

+ 0 - 14
native/Avalonia.Native/src/OSX/window.mm

@@ -677,20 +677,6 @@ NSArray* AllLoopModes = [NSArray arrayWithObjects: NSDefaultRunLoopMode, NSEvent
     }
 }
 
-/*
-- (BOOL)lockFocusIfCanDraw
-{
-    @synchronized (self)
-    {
-        if(_parent == nullptr)
-        {
-            return NO;
-        }
-    }
-    
-    return [super lockFocusIfCanDraw];
-}*/
-
 -(AvnPixelSize) getPixelSize
 {
     return _lastPixelSize;