Copy/Paste CE change settings are still

Found a bug in R'n'D? Report it here!

Moderators: Flumminator, Zomis

Post Reply
User avatar
Eizzoux
Posts: 567
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Copy/Paste CE change settings are still

Post by Eizzoux »

The Copy and Paste Change settings of custom element buttons has no clicking animation.
(don't worry about these rotating lines in the top right corner, it's just a test anim I forgot to turn off)
You can see clicking by disappearing text when mouse is still
You can see clicking by disappearing text when mouse is still
Honeycam 2019-04-07 02-17-23.gif (443.67 KiB) Viewed 11908 times
I checked if the "pressed_xoffset" lines are present for these buttons, and... yes, they are. And you can see the pressed states in RocksDoor.png right before the original unclicked buttons.
Well, these lines are here, yeah
Well, these lines are here, yeah
cp_yes.png (9.55 KiB) Viewed 11908 times
Just a little weird unintended behavior I wasn't paying much attention before.
Merry Christmas and Happy New Year, everyone!

Image
User avatar
Eizzoux
Posts: 567
Joined: Wed Oct 30, 2013 5:32 am
Location: Russia
Contact:

Copy/Paste CE change settings are still

Post by Eizzoux »

Can confirm these buttons are still stationary despite the "pressed offset" attributes.
Merry Christmas and Happy New Year, everyone!

Image
User avatar
Holger
Site Admin
Posts: 4071
Joined: Fri Jun 18, 2004 4:13 pm
Location: Germany
Contact:

Re: Copy/Paste CE change settings are still

Post by Holger »

The problem here (which also occured when pressing the "select previous change page" and "select next change page" counter buttons on the left, by the way) is that these buttons triggered when pressed, not when released (as it should be).

The initial intention was to have those counter-style buttons behave just like normal counter buttons (that is, continue changing its value when held pressed), which does not work that well here, where whole configuration pages are changed, not only a single number. Even worse, these gadget event settings (trigger when pressed, not when released) were also used for the later added "copy" and "paste" buttons, which did not make any sense for these two buttons.

This is fixed now (using "trigger when released" for all four buttons now).

Thanks a lot for reporting this quite old usability bug in the level editor!
Post Reply