flixel-ui icon indicating copy to clipboard operation
flixel-ui copied to clipboard

FlxSlider / FlxUISlider hitbox issue

Open Vortex2Oblivion opened this issue 1 year ago • 1 comments

The bug is that the hitbox of the slider is not on the same camera as the slider itself. This issue seems to have been fixed in a Psych Engine pull request, shadowing the class here It happens with both FlxSlider and FlxUISlider and I've tested on HashLink and C++ targets. I've put together a little demo of the issue here

FlxG.camera.zoom = 1;

image

FlxG.camera.zoom = 0.5;

image

I'm not sure if this is a known issue or not but I couldn't find anything about it besides the Psych Engine pull request.

Vortex2Oblivion avatar Mar 09 '24 00:03 Vortex2Oblivion

This will be fixed in the next Flixel-ui release but will depend on flixel 5.7.0. I've verified the fix locally.

Edit: FlxSlider is flixel-addons so that needs to be updated, too

Geokureli avatar Mar 09 '24 18:03 Geokureli