diff --git a/release/antos-1.2.0.tar.gz b/release/antos-1.2.0.tar.gz index 79a5bcf..aefebb2 100644 Binary files a/release/antos-1.2.0.tar.gz and b/release/antos-1.2.0.tar.gz differ diff --git a/src/core/tags/WindowTag.ts b/src/core/tags/WindowTag.ts index 755a8ae..16aa62a 100644 --- a/src/core/tags/WindowTag.ts +++ b/src/core/tags/WindowTag.ts @@ -405,6 +405,7 @@ namespace OS { const mouse_move_hdl = (e) => { let w = $(this).width(); let h = $(this).height(); + $(this.refs.win_overlay).show(); if(target != this.refs.grip_bottom) { w += e.clientX - offset.left; @@ -421,6 +422,7 @@ namespace OS { this.setsize({ w, h }); } const mouse_up_hdl = (e) => { + $(this.refs.win_overlay).hide(); $(window).off("mousemove", mouse_move_hdl); return $(window).off("mouseup", mouse_up_hdl); } @@ -553,6 +555,11 @@ namespace OS { ref: "grip_right", class: "afx-window-grip-right", }, + { + el: "div", + ref: "win_overlay", + class: "afx-window-overlay", + }, ], }, ]; diff --git a/src/themes/system/afx-app-window.css b/src/themes/system/afx-app-window.css index f83ae98..7e51703 100644 --- a/src/themes/system/afx-app-window.css +++ b/src/themes/system/afx-app-window.css @@ -61,4 +61,13 @@ afx-app-window div.afx-window-grip-right{ top: 0; cursor: ew-resize; background-color: transparent; +} +afx-app-window div.afx-window-overlay { + background-color: transparent; + display: none; + position: absolute; + top: 0; + left: 0; + bottom: 5px; + right: 5px; } \ No newline at end of file