You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
TextureEditorPlugin: Add borders to 3D and Layered editors
This commit is contained in:
@@ -45,6 +45,10 @@ class TexturePreview : public MarginContainer {
|
||||
GDCLASS(TexturePreview, MarginContainer);
|
||||
|
||||
private:
|
||||
struct ThemeCache {
|
||||
Color outline_color;
|
||||
} theme_cache;
|
||||
|
||||
TextureRect *texture_display = nullptr;
|
||||
|
||||
MarginContainer *margin_container = nullptr;
|
||||
@@ -57,8 +61,6 @@ private:
|
||||
|
||||
ColorChannelSelector *channel_selector = nullptr;
|
||||
|
||||
Color cached_outline_color;
|
||||
|
||||
void _draw_outline();
|
||||
void _update_metadata_label_text();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user