mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-06-09 15:13:32 -07:00
feat(notifications): auto-dismiss loading OSD on overlay visibility chan
- add dismissOverlayLoadingOsd dep and call it on hide/show paths (macOS only) - simplify notification card styles: remove accent bar, flatten gradient bg, tweak spacing - fix test CSS path to use __dirname instead of process.cwd()
This commit is contained in:
@@ -2651,6 +2651,9 @@ const overlayVisibilityRuntime = createOverlayVisibilityRuntimeService(
|
||||
showOverlayLoadingOsd: (message: string) => {
|
||||
showOverlayLoadingStatusNotification(message);
|
||||
},
|
||||
dismissOverlayLoadingOsd: () => {
|
||||
dismissOverlayNotification('overlay-loading-status');
|
||||
},
|
||||
hideNonNativeOverlayWhenTargetUnfocused: () =>
|
||||
shouldRunLinuxOverlayZOrderKeepAlive() &&
|
||||
linuxVisibleOverlayWindowMode === 'fullscreen-override',
|
||||
|
||||
Reference in New Issue
Block a user