Merge branch 'main' of github.com:noctalia-dev/noctalia-shell

This commit is contained in:
LemmyCook 2025-09-02 08:51:10 -04:00
commit b908dc0ed2
7 changed files with 105 additions and 73 deletions

View file

@ -31,6 +31,11 @@ NBox {
colorFg: ScreenRecorderService.isRecording ? Color.mOnPrimary : Color.mPrimary
onClicked: {
ScreenRecorderService.toggleRecording()
// If we were not recording and we just initiated a start, close the panel
if (!ScreenRecorderService.isRecording) {
var panel = PanelService.getPanel("sidePanel")
panel && panel.close()
}
}
}