Skip to content

Commit b21128e

Browse files
committed
Tooltips use new structure (seperate sprites)
Fixes weird gradient.
1 parent 3bfb453 commit b21128e

File tree

80 files changed

+808
-517
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+808
-517
lines changed

Minecraft Note Block Studio.yyp

Lines changed: 72 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

objects/obj_popup/Draw_0.gml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ if (!mouse_rectangle(x1, y1, w, h)) {global.popup = 0 instance_destroy()}
44
if (alarm[0] > -1) exit
55
if (alpha < 1) alpha += 0.5
66
if (singleline) {
7-
draw_sprite_ext(spr_tooltip, 0 + 3 * theme, x, y, 1, 1, 0, -1, alpha)
8-
draw_sprite_ext(spr_tooltip, 1 + 3 * theme, x + 4 - 2 * theme, y, (maxw + 8 - 4 * theme), 1, 0, -1, alpha)
9-
draw_sprite_ext(spr_tooltip, 2 + 3 * theme, x + 4 - 2 * theme + (maxw + 8 - 4 * theme), y, 1, 1, 0, -1, alpha)
7+
draw_sprite_ext(spr_tooltip_sl_left, theme, x, y, 1, 1, 0, -1, alpha)
8+
draw_sprite_ext(spr_tooltip_sl_middle, theme, x + 4 - 2 * theme, y, (maxw + 8 - 4 * theme), 1, 0, -1, alpha)
9+
draw_sprite_ext(spr_tooltip_sl_right, theme, x + 4 - 2 * theme + (maxw + 8 - 4 * theme), y, 1, 1, 0, -1, alpha)
1010
} else {
11-
draw_sprite_ext(spr_tooltip_2, 0 + 3 * theme, x, y, 1, 1, 0, -1, alpha)
12-
draw_sprite_ext(spr_tooltip_2, 1 + 3 * theme, x + 4 - 2 * theme, y, (maxw + 8 - 4 * theme), 1, 0, -1, alpha)
13-
draw_sprite_ext(spr_tooltip_2, 2 + 3 * theme, x + 4 - 2 * theme + (maxw + 8 - 4 * theme), y, 1, 1, 0, -1, alpha)
11+
draw_sprite_ext(spr_tooltip_ml_left, theme, x, y, 1, 1, 0, -1, alpha)
12+
draw_sprite_ext(spr_tooltip_ml_middle, theme, x + 4 - 2 * theme, y, (maxw + 8 - 4 * theme), 1, 0, -1, alpha)
13+
draw_sprite_ext(spr_tooltip_ml_right, theme, x + 4 - 2 * theme + (maxw + 8 - 4 * theme), y, 1, 1, 0, -1, alpha)
1414
}
1515
draw_set_alpha(alpha)
1616
draw_set_color(make_color_rgb(75, 75, 75)*!obj_controller.theme)
-206 Bytes
Binary file not shown.
-101 Bytes
Binary file not shown.
-100 Bytes
Binary file not shown.
-92 Bytes
Binary file not shown.
-215 Bytes
Binary file not shown.
-87 Bytes
Binary file not shown.
-93 Bytes
Binary file not shown.
-140 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)