浏览代码

Editor: Clean up.

Mr.doob 1 年之前
父节点
当前提交
ec25730053
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      editor/js/Sidebar.Project.Video.js
  2. 1 1
      editor/js/Sidebar.Settings.History.js

+ 1 - 1
editor/js/Sidebar.Project.Video.js

@@ -53,7 +53,7 @@ function SidebarProjectVideo( editor ) {
 	progress.setWidth( '170px' );
 	progress.setWidth( '170px' );
 	container.add( progress );
 	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.setWidth( '170px' );
 	renderButton.onClick( async () => {
 	renderButton.onClick( async () => {
 
 

+ 1 - 1
editor/js/Sidebar.Settings.History.js

@@ -60,7 +60,7 @@ function SidebarSettingsHistory( editor ) {
 
 
 	// Clear History
 	// 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 () {
 	option.onClick( function () {
 
 
 		if ( confirm( 'The Undo/Redo History will be cleared. Are you sure?' ) ) {
 		if ( confirm( 'The Undo/Redo History will be cleared. Are you sure?' ) ) {