Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve placement preview mouse position handling #690

Merged
merged 1 commit into from Dec 9, 2022

Conversation

mharis001
Copy link
Member

When merged this pull request will:

  • title, fix issue with RscDisplayCurator_mousePos unexpectedly updating when mouse is over mission controls group

Relevant code from RscDisplayCurator.sqf:

//--- Mouse area
{
	_ctrl = _display displayctrl _x;
	_ctrl ctrladdeventhandler ["mousemoving","with (uinamespace) do {RscDisplayCurator_mousePos = [_this select 1,_this select 2];};"];
	_ctrl ctrladdeventhandler ["mouseholding","with (uinamespace) do {RscDisplayCurator_mousePos = [_this select 1,_this select 2];};"];
} foreach [IDC_RSCDISPLAYCURATOR_MOUSEAREA,IDC_RSCDISPLAYCURATOR_MISSION];

@mharis001 mharis001 added the enhancement Improves an existing feature label Oct 26, 2022
@mharis001 mharis001 added this to the 1.13.0 milestone Oct 26, 2022
@mharis001 mharis001 merged commit 527b200 into master Dec 9, 2022
@mharis001 mharis001 deleted the mouse-area-pos branch December 9, 2022 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants