Closed ostap667inbox closed 2 months ago
Bug with the message "Masks must not contain zeroes..." appeared just because the total marked areas did not cover all 100% of the image area. I didn't realize this was a requirement. This problem has been resolved.
This is precisely due to rounding, when drag-n-drop fails to make an area with coordinates 0 or 1. In my screenshot above, you can just see the yellow area with Y-coordinates 0.00:0.99.
So being able to control the numbers and correct them by hand is very necessary. Earlier you mentioned that you were going to remove coordinates from the table because you added drag-n-drop functionality. This is an example of why this functionality is needed. :)
Earlier you mentioned that you were going to remove coordinates from the table
No, people want them removed, but I still want to keep them š¤·
An improvement would be some sort of snapping I guess.
Glad to see there's no actual problem at least, right?
Bug 1 The bug appears with any number of areas, i.e. now the advanced mode doesn't work at all. Basic mode with same prompt is Ok.
Prompt, 3 lines:
And map with 3 areas:![1](https://github.com/Haoming02/sd-forge-couple/assets/123593542/da1ad424-ee19-4eec-9b8b-beb566d2cf47)
Issue 2 Width: 2048, Height: 1024 and vice versa.
There is no functional error, probably it was designed that way. The black area and selected zones have correct proportions, blocks do not go beyond the black area when resizing or moving. Everything is fine. Only the rest of the area looks strange, it seems to me that it is better to adjust the height or width of the whole outer block to the size of the working area. Yes?
P.S. Because of rounding, it is often impossible to manually set the size of squares exactly on the border of the workspace. For example, I try to make a rectangle 100% wide, change its dimensions with the mouse, but I get an interval of 0.03:0.99 instead of 0.0:1.0.
So, if you plan to get rid of the manual coordinates option in the future, it's better to keep them. It doesn't cause any functionality problems, but the sight of single-pixel black indents will cause OCD attacks in some users, ha-ha :)