Menu

#838 [Lua] gui.drawbox border is overlapping itself

General
closed:fixed
nobody
Lua Drawing (2)
5
2018-12-31
2018-12-30
Anonymous
No

The lines that make up the border when using gui.drawbox are overlapping and causing the alpha for the corner pixels to appear wrong.

Discussion

  •  SpiderDave

    SpiderDave - 2018-12-31

    Thanks for the fix, seems to work fine.

    I tested a nit-pick edge case where you make a 1px x 1px box and it makes a 1px x 3px "box". not sure anyone would care about that quirk. I'd actually run into that since I have a mouse drag select thing in a script, but it's fine.

    Test script used: https://pastebin.com/rMH9yCF0

     
  • zeromus

    zeromus - 2018-12-31

    fixed fully

     
  • zeromus

    zeromus - 2018-12-31
    • status: open --> closed:fixed
     

Log in to post a comment.