A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix: reduce inspector panel default width from 300px to 260px
esengine3a9c2d31e1ff
diff --git a/editor/src/Editor.ts b/editor/src/Editor.tsindex a7e0a15c1..3fd3d37a7 100644--- a/editor/src/Editor.ts+++ b/editor/src/Editor.ts@@ -972,13 +972,13 @@ export class Editor {}if (centerPanel && rightPanel) {- const rightSize = this.loadPanelSize('panelSizeRight', 300);+ const rightSize = this.loadPanelSize('panelSizeRight', 260);const rightSplitter = new Splitter({direction: 'horizontal',container: main as HTMLElement,leftPanel: centerPanel,rightPanel,- minSize: 250,+ minSize: 220,defaultPosition: rightSize,onResize: (_, size) => {this.savePanelSize('panelSizeRight', size);diff --git a/editor/src/styles/editor.css b/editor/src/styles/editor.cssindex 42a06d513..7c4f972a5 100644--- a/editor/src/styles/editor.css+++ b/editor/src/styles/editor.css@@ -289,8 +289,8 @@ svg {}.es-editor-right {- width: 300px;- min-width: 250px;+ width: 260px;+ min-width: 220px;display: flex;flex-direction: column;}