mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 21:31:10 +01:00
Shrink shader editor's oversized borders
(cherry picked from commit c2553f530be9c137fe992d5d4521e13de92a32b2)
This commit is contained in:
parent
ace2a22838
commit
6730fc8f0f
@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
#include "editor/code_editor.h"
|
#include "editor/code_editor.h"
|
||||||
#include "editor/editor_plugin.h"
|
#include "editor/editor_plugin.h"
|
||||||
#include "scene/gui/panel_container.h"
|
#include "scene/gui/margin_container.h"
|
||||||
|
|
||||||
#include "scene/resources/shader.h"
|
#include "scene/resources/shader.h"
|
||||||
|
|
||||||
@ -73,8 +73,8 @@ public:
|
|||||||
ShaderTextEditor();
|
ShaderTextEditor();
|
||||||
};
|
};
|
||||||
|
|
||||||
class ShaderEditor : public PanelContainer {
|
class ShaderEditor : public MarginContainer {
|
||||||
GDCLASS(ShaderEditor, PanelContainer);
|
GDCLASS(ShaderEditor, MarginContainer);
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user