Skip to content

Commit 78ce667

Browse files
authored
Merge pull request #50501 from nextcloud/artonge/fix/color_debounce
fix: Increase background and primary color debounce time
2 parents a606b66 + 7e6fbe8 commit 78ce667

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

apps/theming/src/components/BackgroundSettings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export default {
234234
235235
debouncePickColor: debounce(function(...args) {
236236
this.pickColor(...args)
237-
}, 200),
237+
}, 1000),
238238
239239
pickFile() {
240240
const picker = getFilePickerBuilder(t('theming', 'Select a background from your files'))

apps/theming/src/components/UserPrimaryColor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default defineComponent({
6969
},
7070
7171
debouncedOnUpdate() {
72-
return debounce(this.onUpdate, 500)
72+
return debounce(this.onUpdate, 1000)
7373
},
7474
},
7575

dist/theming-personal-theming.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/theming-personal-theming.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)