Skip to content

Commit ebc14f9

Browse files
committed
Fixed styles
1 parent 5890744 commit ebc14f9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

extension-features.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,17 +296,17 @@ document.addEventListener('ui-styles', function () {
296296

297297
if (storage.background_color) {
298298
if (storage.hasOwnProperty('opacity')) {
299-
this.surface.style.setProperty('background-color', 'rgba(' + storage.background_color.join(',') + ',' + storage.opacity + ')', 'important');
299+
extension.ui.surface.style.setProperty('background-color', 'rgba(' + storage.background_color.join(',') + ',' + storage.opacity + ')', 'important');
300300
} else {
301-
this.surface.style.setProperty('background-color', 'rgba(' + storage.background_color.join(',') + ',0.8)', 'important');
301+
extension.ui.surface.style.setProperty('background-color', 'rgba(' + storage.background_color.join(',') + ',0.8)', 'important');
302302
}
303303
}
304304

305305
if (storage.text_color) {
306-
this.surface.style.setProperty('color', 'rgb(' + storage.text_color.join(',') + ')', 'important');
306+
extension.ui.surface.style.setProperty('color', 'rgb(' + storage.text_color.join(',') + ')', 'important');
307307
}
308308

309309
if (storage.blur) {
310-
this.surface.style.setProperty('backdrop-filter', 'blur(' + storage.blur + 'px)', 'important');
310+
extension.ui.surface.style.setProperty('backdrop-filter', 'blur(' + storage.blur + 'px)', 'important');
311311
}
312312
});

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 3,
33
"name": "Frame By Frame",
44
"description": "__MSG_description__",
5-
"version": "3.1",
5+
"version": "3.2",
66
"default_locale": "en",
77
"icons": {
88
"16": "icons/16.png",

0 commit comments

Comments
 (0)