Browse Source

Add sliders to improve inspector's textures display

ameuleman 8 năm trước cách đây
mục cha
commit
afae05cabe

+ 1 - 1
inspector/sass/_detailPanel.scss

@@ -2,7 +2,7 @@
 .insp-details {
 .insp-details {
   background-color: $background;
   background-color: $background;
   overflow-y: auto;
   overflow-y: auto;
-  overflow-x: hidden;
+  overflow-x: auto;
   color:$color;
   color:$color;
   font-family: $font;
   font-family: $font;
 
 

+ 1 - 1
inspector/src/tabs/TextureTab.ts

@@ -20,7 +20,7 @@ module INSPECTOR {
             // Build the treepanel
             // Build the treepanel
             this._treePanel = Helpers.CreateDiv('insp-tree', this._panel);
             this._treePanel = Helpers.CreateDiv('insp-tree', this._panel);
 
 
-            this._imagePanel = Helpers.CreateDiv('image-panel', this._panel) as HTMLDivElement;
+            this._imagePanel = Helpers.CreateDiv('insp-details', this._panel) as HTMLDivElement;
 
 
             Split([this._treePanel, this._imagePanel], {
             Split([this._treePanel, this._imagePanel], {
                 blockDrag: this._inspector.popupMode,
                 blockDrag: this._inspector.popupMode,