DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

`dpg.draw_rectangle` with `thickness=0` doesn't remove outline

Open my1e5 opened this issue 2 years ago • 1 comments

Version of Dear PyGui

Version: 1.6.2 Operating System: macOS 10.15.7

My Issue/Question

When using dpg.draw_rectangle with thickness=0 the outline of the shape still remains.

Expected behavior

I expected the outline to go away.

Screenshots/Video

Screenshot 2022-06-18 at 16 17 51

Standalone, minimal, complete and verifiable example

import dearpygui.dearpygui as dpg
dpg.create_context()

with dpg.window(tag="Primary Window"):
    dpg.draw_rectangle(pmin=(0, 0), pmax=(100, 100), fill=(0, 0, 0), thickness=0)

dpg.create_viewport(width=200, height=200)
dpg.setup_dearpygui()
dpg.show_viewport()
dpg.set_primary_window("Primary Window", True)
dpg.start_dearpygui()
dpg.destroy_context()

my1e5 avatar Jun 18 '22 15:06 my1e5

I don't have mac os. But on windows 10, no such issue:

image

hugle avatar Aug 10 '22 03:08 hugle

This must have been fixed. It does not occur on either of my Macs.

hoffstadt avatar Oct 31 '22 01:10 hoffstadt