aboutsummaryrefslogtreecommitdiff
path: root/src/tool/rect_room_tool.rs
Commit message (Collapse)AuthorAgeLines
* Change to polygongraph instead of polygon in roomtoolArne Dußin2020-12-27-0/+1
| | | | | | | | | | | The polygon room tool used a convoluted process for determining what the user actually wants to draw. I have changed to the polygon graph instead, which makes the checks easier and restricts the user a bit less. In the process however I found a serious problem with my handling float, so everything needed to change to margin compares (which I of course should have done in the beginning. Guys, take the warning seriously and don't ignore it for ten years like I did. It will come back to haunt you.. apparently) instead of direct equality.
* Add previously missing docs where appropriateArne Dußin2020-12-21-1/+7
|
* Add dimensional indicator with scalingArne Dußin2020-12-20-2/+2
|
* Add constant for default colours and selection toolArne Dußin2020-12-16-7/+2
|
* Refactor to make interaction between tools easierArne Dußin2020-12-15-0/+78