From c0cc642533489af6cacd15b86db8a00900798953 Mon Sep 17 00:00:00 2001 From: "kbuffington@gmail.com" Date: Fri, 21 May 2021 19:45:31 -0500 Subject: [PATCH] Adding more rotation speed options and changing default from 200 to 150 --- js/georgia-main.js | 2 +- js/settings.js | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/js/georgia-main.js b/js/georgia-main.js index a350525a..f30fa662 100644 --- a/js/georgia-main.js +++ b/js/georgia-main.js @@ -1100,7 +1100,7 @@ function onOptionsMenu(x, y) { cdartArray = []; RepaintWindow(); }, !pref.spinCdart); - cdArtMenu.createRadioSubMenu('Spinning cdArt redraw speed', ['250ms (lower CPU)', '200ms (default)', '150ms', '125ms', '100ms', '75ms (higher CPU)'], pref.spinCdArtRedrawInterval, [250, 200, 150, 125, 100, 75], interval => { + cdArtMenu.createRadioSubMenu('Spinning cdArt redraw speed', ['250ms (lower CPU)', '200ms', '150ms (default)', '125ms', '100ms', '75ms', '50ms (higher CPU)'], pref.spinCdArtRedrawInterval, [250, 200, 150, 125, 100, 75, 50], interval => { pref.spinCdArtRedrawInterval = interval; setupRotationTimer(); }, !pref.spinCdart) diff --git a/js/settings.js b/js/settings.js index 3e757d67..241b20f2 100644 --- a/js/settings.js +++ b/js/settings.js @@ -42,7 +42,7 @@ pref.add_properties({ cdart_ontop: ['Art: Show CD art above front cover', false], // true: display cdArt above front cover spinCdart: ['Art: Spin CD art', false], // true: cdArt will spin while the song plays spinCdArtImageCount: ['Art: # of images to create while spinning', 60], // higher numbers will increase memory usage, and slow down spin - spinCdArtRedrawInterval: ['Art: Spin CD draw interval', 200], // speed in ms with which to attempt redraw. Lower numbers will increase CPU + spinCdArtRedrawInterval: ['Art: Spin CD draw interval', 150], // speed in ms with which to attempt redraw. Lower numbers will increase CPU filterCdJpgsFromAlbumArt: ['Art: Filter out cd/vinyl .jpgs from showing as artwork', false], labelArtOnBg: ['Art: Draw label art on background', false], // true: don't show the theme color background behind label art show_flags: ['Show country flags', true], // true: show the artist country flags @@ -241,6 +241,12 @@ function migrateCheck(version, storedVersion) { replaceGridEntry(grid, 'Release Country', 7); config.addConfigurationObject(gridSchema, grid); + case '2.0.2': + case '2.0.3-dev': + window.setProperty('ADV.Limit Menu Expand: 10-6000', undefined); + window.setProperty('SYSTEM: Filter By', undefined); + window.setProperty('SYSTEM: View By', undefined); + // this block should appear after all previous versions have fallen through console.log('> Upgrading Georgia Theme settings from', storedVersion); const fileName = `georgia\\georgia-config-${storedVersion}.jsonc`; @@ -249,8 +255,7 @@ function migrateCheck(version, storedVersion) { config.writeConfiguration(); window.Reload(); - case '2.0.2': - case '2.0.3-dev': + case '2.0.3': default: break;