Add/Subtract Tooltip is incorrect

Report new issues and add information on existing ones.

Moderator: Kyete

Post Reply
outzenj
Posts: 21
Joined: Fri Nov 14, 2014 5:14 pm

Add/Subtract Tooltip is incorrect

Post by outzenj » Fri Nov 26, 2021 6:19 pm

When multiple objects of the same type are on top of each other, and the user chooses the same drawing tool with the Add or Subtract mode, the tooltip refers to the bottom object, instead of the top. When actually using the tool, it operates on the top object - which I would assume is the correct behavior, but the tooltip makes this confusing.

Oddly enough, the Landmass tool seems to do it correctly.

OWM 1.05 on Windows 11.

User avatar
Kyete
Site Moderator
Posts: 237
Joined: Tue Nov 11, 2014 4:52 pm

Re: Add/Subtract Tooltip is incorrect

Post by Kyete » Mon Nov 29, 2021 1:00 pm

I see the problem. The code is looking through the items in the wrong order and stopping when it finds the first item that contains the point. I also noticed that when trying to add to the top item and the second point is over one of the other items, then it automatically finishes the addition. I’ve added it to our list and will be fixed in 1.0.6. Thank you for pointing that out!

-Katie

Post Reply