From 26e4e996c526d9ee51c07562edc8034241592e8c Mon Sep 17 00:00:00 2001 From: tisfeng Date: Wed, 27 Dec 2023 22:25:05 +0800 Subject: [PATCH] perf: resolve warning --- .../Window/WindowManager/EZWindowManager.m | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Easydict/Feature/ViewController/Window/WindowManager/EZWindowManager.m b/Easydict/Feature/ViewController/Window/WindowManager/EZWindowManager.m index f329f9ad8..24204c5e4 100644 --- a/Easydict/Feature/ViewController/Window/WindowManager/EZWindowManager.m +++ b/Easydict/Feature/ViewController/Window/WindowManager/EZWindowManager.m @@ -144,14 +144,7 @@ - (void)setupEventMonitor { }]; [self.eventMonitor setDoubleCommandBlock:^{ - NSLog(@"double command"); - - // TODO: Let users customize double-click shortcuts later on -#if DEBUG - mm_strongify(self); - // add double click as shortcuts feat in MAShortCut -// [self showMiniFloatingWindow]; -#endif + NSLog(@"double command block"); }]; }