File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 sliderWidget = await IsSliderWidget ();
7171 themesSlider = await IsThemesSlider ();
7272 } catch {}
73+
74+ // Show window now that the DOM is ready (started hidden to avoid white flash)
75+ if (! sliderWidget && ! themesSlider ) {
76+ try {
77+ const {WindowShow} = await import (' ../wailsjs/runtime/runtime' );
78+ WindowShow ();
79+ } catch {}
80+ }
81+
7382 if (widgetMode || sliderWidget || themesSlider ) return ;
7483
7584 // Focus a specific tab if requested via --tab flag
362371 <div class =" h-full overflow-y-auto p-3" >
363372 <OmarchyThemes />
364373 </div >
365- {:else if activeTab === ' slider' }
366- <WallpaperSlider />
367374 {/if }
368375 </main >
369376 <ActionBar />
Original file line number Diff line number Diff line change 6363 // Paintbrush / Brush
6464 icon: ' <path d="M18.37 2.63a2.12 2.12 0 0 1 3 3L14 13l-4 1 1-4z"/><path d="M9 14.5A3.5 3.5 0 0 0 5.5 18c-1.2 0-2.5.7-2.5 2 2 0 4.5-1 5.5-3.5"/>' ,
6565 },
66- {
67- id: ' slider' ,
68- label: ' Slider' ,
69- // Two parallel panels (/ /)
70- icon: ' <rect x="2" y="3" width="8" height="18" transform="skewX(-6)"/><rect x="14" y="3" width="8" height="18" transform="skewX(-6)"/>' ,
71- },
7266 ];
7367 </script >
7468
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ export type Tab =
44 | 'local'
55 | 'favorites'
66 | 'blueprints'
7- | 'system'
8- | 'slider' ;
7+ | 'system' ;
98
109// --- Reactive state ---
1110let activeTab = $state < Tab > ( 'editor' ) ;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ func main() {
9696 Title : title ,
9797 Width : width ,
9898 Height : height ,
99- StartHidden : isSliderMode ,
99+ StartHidden : true ,
100100 Frameless : frameless ,
101101 AlwaysOnTop : alwaysOnTop ,
102102 AssetServer : & assetserver.Options {
You can’t perform that action at this time.
0 commit comments