We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fb6ee commit 6b3b9d6Copy full SHA for 6b3b9d6
editor/js/Sidebar.Project.Materials.js
@@ -22,7 +22,7 @@ function SidebarProjectMaterials( editor ) {
22
var buttonsRow = new UIRow();
23
container.add( buttonsRow );
24
25
- var assignMaterial = new UIButton().setLabel( strings.getKey( 'sidebar/project/Assign' ) );
+ var assignMaterial = new UIButton( strings.getKey( 'sidebar/project/Assign' ) );
26
assignMaterial.onClick( function () {
27
28
var selectedObject = editor.selected;
editor/js/libs/ui.js
@@ -976,14 +976,6 @@ class UIButton extends UIElement {
976
977
}
978
979
- setLabel( value ) {
980
-
981
- this.dom.textContent = value;
982
983
- return this;
984
985
- }
986
987
988
989
class UIProgress extends UIElement {
0 commit comments