Skip to content

Commit

Permalink
gui_View_width over camera view width
Browse files Browse the repository at this point in the history
  • Loading branch information
OH296 committed Dec 28, 2024
1 parent 02deacc commit cd4ff12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions objects/obj_drop_select/Draw_64.gml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ w = 660;
h = 520;
// Center of the screen
//setup
var _x_center = (camera_width / 2) - (w/2);
var _y_center = (camera_height / 2) - (h/2);
var _x_center = (display_get_gui_width() / 2) - (w/2);
var _y_center = (display_get_gui_height() / 2) - (h/2);
//draw main_slate
if (purge != DropType.PurgeSelect && (local_content_slate.XX<=_x_center-local_content_slate.width)){
main_slate.inside_method = drop_select_draw;
Expand Down

0 comments on commit cd4ff12

Please sign in to comment.