Skip to content

Commit b6b4239

Browse files
committed
fix alpha issue in menus
1 parent 7793718 commit b6b4239

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

current-scripts/Demos/useful-scripts/objects/obj_column_menu/Draw_0.gml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ for (var i=view_area.x; i<=view_area.y; i++) {
1010

1111
if (enabled) {
1212
draw_sprite(cursor_spr, 0, x, y + (item_height + line_spacing) * (pos - view_area.x) + item_height / 2);
13-
}
13+
}
14+
draw_set_alpha(1);

current-scripts/Demos/useful-scripts/objects/obj_grid_menu/Draw_0.gml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ if (enabled) {
1717
x + (cursor_padding + column_width) * (pos.x - view_area.left),
1818
y + (item_height + line_spacing) * (pos.y - view_area.top) + item_height / 2
1919
);
20-
}
20+
}
21+
draw_set_alpha(1);

current-scripts/Demos/useful-scripts/objects/obj_nested_menu/Draw_0.gml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ for (var i=0; i<num_items; i++) {
99

1010
if (enabled) {
1111
draw_sprite(cursor_spr, 0, x, y + (item_height + line_spacing) * pos + item_height / 2);
12-
}
12+
}
13+
draw_set_alpha(1);

0 commit comments

Comments
 (0)