Skip to content

Commit

Permalink
Editor: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Feb 16, 2024
1 parent 8a321b5 commit ec25730
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Project.Video.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function SidebarProjectVideo( editor ) {
progress.setWidth( '170px' );
container.add( progress );

const renderButton = new UIButton( strings.getKey( 'sidebar/project/render' ) ).setTextTransform( 'uppercase' );
const renderButton = new UIButton( strings.getKey( 'sidebar/project/render' ) );
renderButton.setWidth( '170px' );
renderButton.onClick( async () => {

Expand Down
2 changes: 1 addition & 1 deletion editor/js/Sidebar.Settings.History.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function SidebarSettingsHistory( editor ) {

// Clear History

const option = new UIButton( strings.getKey( 'sidebar/history/clear' ) ).setTextTransform( 'uppercase' );
const option = new UIButton( strings.getKey( 'sidebar/history/clear' ) );
option.onClick( function () {

if ( confirm( 'The Undo/Redo History will be cleared. Are you sure?' ) ) {
Expand Down

0 comments on commit ec25730

Please sign in to comment.