Deplace l'overlay Cocoa derriere le contrat Overlay, sans le modifier

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-23 18:13:12 +02:00
co-authored by Claude Opus 5
parent 5f83e4c6a3
commit 3c3ea4444d
5 changed files with 29 additions and 2 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ from pynput import keyboard
from controller import ZonzaController
from core import CONFIG, validate_config
from pulse_window import PulseWindow
from interface import classe_overlay_pour
from systeme import choisir_systeme
_STATE_TITLES = {
@@ -49,7 +49,7 @@ class ZonzaApp(NSObject):
return None
self._item = None
self._sounds_item = None
self.pulse = PulseWindow.alloc().init()
self.pulse = classe_overlay_pour().alloc().init()
self.controller = ZonzaController(
CONFIG, self.pulse, on_state=self._set_state,
run_on_main=AppHelper.callAfter,