Fix minimap capturing events and improve its theme

Add an editor setting for minimap opacity in visual editors
This commit is contained in:
Yuri Sizov
2021-01-25 17:37:05 +03:00
parent 71f0b4f4b9
commit 9d9d0f0bc9
7 changed files with 41 additions and 5 deletions
@@ -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();