File tree Expand file tree Collapse file tree
frontend/src/components/window Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 : undefined }
5454 tooltipShortcut ={$tooltip .f11Shortcut }
5555 on:click ={() => {
56- if (isDesktop ()) {
57- editor .handle .appWindowFullscreen ();
58- } else {
59- ($fullscreen .windowFullscreen ? fullscreen .exitFullscreen : fullscreen .enterFullscreen )();
60- }
56+ if (isDesktop ()) editor .handle .appWindowFullscreen ();
57+ else ($fullscreen .windowFullscreen ? fullscreen .exitFullscreen : fullscreen .enterFullscreen )();
6158 }}
6259 >
6360 <IconLabel icon ={isFullscreen ? " FullscreenExit" : " FullscreenEnter" } />
6966 <LayoutRow tooltipLabel ={$appWindow .maximized ? ($appWindow .platform === " Windows" ? " Restore Down" : " Unmaximize" ) : " Maximize" } on:click ={() => editor .handle .appWindowMaximize ()}>
7067 <IconLabel icon ={$appWindow .maximized ? " WindowButtonWinRestoreDown" : " WindowButtonWinMaximize" } />
7168 </LayoutRow >
72- <LayoutRow tooltipLabel ="Close" class = "close" on:click ={() => editor .handle .appWindowClose ()}>
69+ <LayoutRow tooltipLabel ="Close" on:click ={() => editor .handle .appWindowClose ()}>
7370 <IconLabel icon =" WindowButtonWinClose" />
7471 </LayoutRow >
7572 {/if }
123120 padding : 0 8px ;
124121 }
125122
126- & .windows > .layout-row {
123+ & .windows :not ( .fullscreen ) > .layout-row {
127124 padding : 0 17px ;
128125
129126 & :hover {
130127 background : #2d2d2d ;
131128 }
132129
133- & .close :hover {
130+ & :last-of-type :hover {
134131 background : #c42b1c ;
135132 }
136133 }
137134
138- & .linux > .layout-row {
135+ & .linux :not ( .fullscreen ) > .layout-row {
139136 padding : 0 12px ;
140137
141138 & :hover {
You can’t perform that action at this time.
0 commit comments