We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 294a56e commit 259f201Copy full SHA for 259f201
1 file changed
MainWindow.axaml.cs
@@ -91,7 +91,9 @@ public MainWindow()
91
_compactChk = this.FindControl<CheckBox>("CompactChk")!;
92
93
// ---- full view wiring ----
94
- this.FindControl<Grid>("TitleBar")!.PointerPressed += OnDrag;
+ // drag the whole card / settings overlay; buttons consume their own press so they won't drag
95
+ _fullCard.PointerPressed += OnDrag;
96
+ _settingsOverlay.PointerPressed += OnDrag;
97
this.FindControl<Button>("SettingsBtn")!.Click += (_, _) => ShowSettings(true);
98
this.FindControl<Button>("CompactBtn")!.Click += (_, _) => SetCompact(true);
99
this.FindControl<Button>("PinBtn")!.Click += OnPin;
0 commit comments