File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -56,6 +56,18 @@ const handleClose = () => {
5656 }
5757};
5858
59+ const handleMinimize = () => {
60+ if (isWeb ) {
61+ alert (" This is a web demo. Please download the desktop app for full functionality." );
62+ }
63+ };
64+
65+ const handleMaximize = () => {
66+ if (isWeb ) {
67+ alert (" This is a web demo. Please download the desktop app for full functionality." );
68+ }
69+ };
70+
5971// Emit events for parent communication
6072const emit = defineEmits <{
6173 " open-settings" : [];
@@ -118,7 +130,6 @@ const openSettings = () => {
118130 />
119131 </div >
120132 <div
121- v-if =" isMac"
122133 class =" traffic-light-group"
123134 @mouseenter =" setAllHover"
124135 @mouseleave =" setAllNormal"
@@ -142,6 +153,7 @@ const openSettings = () => {
142153 }"
143154 @mousedown =" minimizeState = 'press'"
144155 @mouseup =" minimizeState = 'hover'"
156+ @click =" handleMinimize"
145157 tabindex =" -1"
146158 role =" button"
147159 aria-label =" Minimize"
@@ -153,6 +165,7 @@ const openSettings = () => {
153165 }"
154166 @mousedown =" maximizeState = 'press'"
155167 @mouseup =" maximizeState = 'hover'"
168+ @click =" handleMaximize"
156169 tabindex =" -1"
157170 role =" button"
158171 aria-label =" Maximize"
You can’t perform that action at this time.
0 commit comments