Skip to content

Commit 0caf3b8

Browse files
authored
live-preview: Don't show reload icon on MacOS (#9807)
This stop the menu icon showing on on MacOS as they are not rendering as expected.
1 parent 591621c commit 0caf3b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lsp/ui/main.slint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export component PreviewUi inherits Window {
8080

8181
MenuItem {
8282
title: @tr("Reload");
83-
icon: Icons.sync;
83+
icon: Platform.os != OperatingSystemType.macos ? Icons.sync : @image-url("");
8484
activated => {
8585
Api.reload-preview();
8686
}

0 commit comments

Comments
 (0)