enable zoom hotkeys
This commit is contained in:
parent
3f4862ced6
commit
0ecccbfd17
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ pub fn run() {
|
||||||
WebviewWindow::builder(&app, "main", WebviewUrl::App("/".into()))
|
WebviewWindow::builder(&app, "main", WebviewUrl::App("/".into()))
|
||||||
.title("OpenCode")
|
.title("OpenCode")
|
||||||
.inner_size(800.0, 600.0)
|
.inner_size(800.0, 600.0)
|
||||||
.decorations(true);
|
.decorations(true)
|
||||||
|
.zoom_hotkeys_enabled(true);
|
||||||
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue