feat(positioner): add moveWindowConstrained for tray-icon positions (#2076)

This commit is contained in:
Jakob Westhoff
2024-11-20 02:05:37 +02:00
committed by GitHub
parent 383e636a8e
commit 4db626354c
11 changed files with 352 additions and 163 deletions
+5 -1
View File
@@ -2,7 +2,11 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
const COMMANDS: &[&str] = &["move_window", "set_tray_icon_state"];
const COMMANDS: &[&str] = &[
"move_window",
"move_window_constrained",
"set_tray_icon_state",
];
fn main() {
tauri_plugin::Builder::new(COMMANDS)