godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix `EditorSpinSlider` grapper `TextureRect` doesn't follow parent when scrolling.

Open WhalesState opened this issue 1 year ago • 1 comments

  • Fixes: https://github.com/godotengine/godot/issues/97825

WhalesState avatar Oct 07 '24 18:10 WhalesState

~~Hmm, the fix seems mostly fine, but I'm a little concerned about hardcoding the z-value to 1. While I don't think the z-value would change for an EditorSpinSlider, wouldn't it still make more sense to make it something like grabber->set_z_index(get_z_index() + 1); so it's always relative?~~

SaracenOne avatar Oct 10 '24 22:10 SaracenOne

This is relatively simple and easy to salvage, too.

Mickeon avatar Oct 25 '24 22:10 Mickeon

Thanks!

Repiteo avatar Nov 12 '24 15:11 Repiteo