Skip to content

Commit

Permalink
Merge pull request #50501 from nextcloud/artonge/fix/color_debounce
Browse files Browse the repository at this point in the history
fix: Increase background and primary color debounce time
  • Loading branch information
artonge authored Jan 29, 2025
2 parents a606b66 + 7e6fbe8 commit 78ce667
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/theming/src/components/BackgroundSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default {

debouncePickColor: debounce(function(...args) {
this.pickColor(...args)
}, 200),
}, 1000),

pickFile() {
const picker = getFilePickerBuilder(t('theming', 'Select a background from your files'))
Expand Down
2 changes: 1 addition & 1 deletion apps/theming/src/components/UserPrimaryColor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default defineComponent({
},

debouncedOnUpdate() {
return debounce(this.onUpdate, 500)
return debounce(this.onUpdate, 1000)
},
},

Expand Down
4 changes: 2 additions & 2 deletions dist/theming-personal-theming.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/theming-personal-theming.js.map

Large diffs are not rendered by default.

0 comments on commit 78ce667

Please sign in to comment.