Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0023874Runner[All Projects] HTML5Public2016-09-27 01:472017-03-02 15:30
Reportericuurd12b42 
Assigned ToFritz 
PriorityMediumSeverityB - MajorReproducibility100%
StatusClosedResolutionFixed 
PlatformHTML5OSChromeOS Version
Summary0023874: HTML5: device_mouse_x_to_gui() and device_mouse_x_to_gui() are broken
Descriptiondevice_mouse_x_to_gui reports wrong coord in html5
device_mouse_y_to_gui reports wrong coord in html5

The example has the view coord at 2000,2000, as you can see the gui_mouse returns x,y plus the view offset
 
Have not tried with a zoomed view but I recommend you try with that

I also recommend you verify display_set_gui_size in the process
Steps To ReproduceExample file is self-explanatory.
1.4 Version1.4.1757
Runtime Version
Runtime Version Verified In
Attached Files? file icon gui_button_test.gmz [^] (20,700 bytes) 2016-09-27 01:48

- Relationships

-  Notes
(0049099)
icuurd12b42 (Updater)
2016-09-27 01:54

if you set the view to 102x76, making a zoomed view you will see the result is 2000,2000 to 2102,2075

Someone's done messed that up ;)
(0049266)
Andrey (Reporter)
2016-09-29 07:46

I have a similar problem:
http://help.yoyogames.com/hc/en-us/requests/110546 [^]


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker