Skip to content

Commit 94cc68f

Browse files
zznewclear13v-ein
authored andcommitted
Fix issue #2382: dpg.configure_item() ignores rect's translation
1 parent 58b4a91 commit 94cc68f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/mvDrawings.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1470,6 +1470,9 @@ void mvDrawRect::handleSpecificKeywordArgs(PyObject* dict)
14701470
}
14711471
}
14721472

1473+
_pmin.w = 1.0f;
1474+
_pmax.w = 1.0f;
1475+
14731476
if (_multicolor)
14741477
_rounding = 0.0f;
14751478
}

0 commit comments

Comments
 (0)