mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-11 16:22:09 -04:00
refactor(Notepad): Streamline hide behavior & auto-save function
This commit is contained in:
@@ -25,6 +25,7 @@ PanelWindow {
|
||||
property string title: ""
|
||||
property alias container: contentContainer
|
||||
property real customTransparency: -1
|
||||
signal aboutToHide
|
||||
|
||||
function show() {
|
||||
visible = true
|
||||
@@ -32,6 +33,7 @@ PanelWindow {
|
||||
}
|
||||
|
||||
function hide() {
|
||||
aboutToHide()
|
||||
isVisible = false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user