Skip to content

Commit

Permalink
updates value when calling setUnit (#28299)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycw committed May 7, 2024
1 parent d3f5c01 commit 153cc13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/js/libs/ui.js
Expand Up @@ -782,6 +782,8 @@ class UINumber extends UIElement {

this.unit = unit;

this.setValue( this.value );

return this;

}
Expand Down

0 comments on commit 153cc13

Please sign in to comment.