add maxEntities

This commit is contained in:
ticaki
2025-01-22 20:55:43 +01:00
parent b8c0939382
commit 737bb80af0

View File

@@ -10979,6 +10979,8 @@ function HandleScreensaverUpdate(): void {
maxEntities = 5; maxEntities = 5;
if (getState(NSPanel_Path + 'Config.Screensaver.alternativeScreensaverLayout').val) { if (getState(NSPanel_Path + 'Config.Screensaver.alternativeScreensaverLayout').val) {
maxEntities = 6; maxEntities = 6;
} else if (getState(NSPanel_Path + ScreensaverEasyViewEndPath).val) {
maxEntities = 4;
} }
} }