Fix minimap capturing events and improve its theme
Add an editor setting for minimap opacity in visual editors
This commit is contained in:
@@ -115,6 +115,7 @@ static Ref<Texture2D> flip_icon(Ref<Texture2D> p_texture, bool p_flip_y = false,
|
||||
|
||||
Ref<ImageTexture> texture(memnew(ImageTexture));
|
||||
Ref<Image> img = p_texture->get_data();
|
||||
img = img->duplicate();
|
||||
|
||||
if (p_flip_y) {
|
||||
img->flip_y();
|
||||
|
||||
Reference in New Issue
Block a user