drect_border
unexpected behavior #14
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello, I wanted to use the
drect_border
function today and wasn't expecting it to "clip" borders to the screen boundaries. I wanted to use it for a moving box that goes out of bound, the current behavior prevent this kind of usage.Here is a minimal code demonstrating what I mean:
Behavior expected:
What gint draws:
Thank you for your attention.
You are correct, this is a bug. The expected behavior is that clipping does not move the border. Since
drect()
does all the needed checks anyway, I dropped the bound-checking code to keep only the simple cases.You can check this out on
dev
, if everything works correctly for you this will be in the next release (which shouldn't take too long since the USB driver is coming).It all works as expected on
dev
, thank you!