Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/haxeui/haxeui-html5
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Aug 31, 2023
2 parents 561e846 + b04c8d0 commit 6b846f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions haxe/ui/backend/ComponentImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -341,13 +341,12 @@ class ComponentImpl extends ComponentBase {

FilterHelper.applyFilters(this.element, style.filter);

element.style.removeProperty("backdrop-filter");
if (style.backdropFilter != null) {
if ((style.backdropFilter[0] is Blur)) {
var blur:Blur = cast style.backdropFilter[0];
element.style.setProperty("backdrop-filter", 'blur(${blur.amount}px)');
}
} else {
element.style.removeProperty("backdrop-filter");
}

if (style.opacity != null) {
Expand Down

0 comments on commit 6b846f0

Please sign in to comment.