push panel slightly into the screen to work around DX bug
This commit is contained in:
parent
5827e89469
commit
355b3144c8
|
|
@ -80,6 +80,10 @@ class DirectDialog(DirectFrame):
|
|||
optiondefs = (
|
||||
# Define type of DirectGuiWidget
|
||||
('dialogName', None, INITOPT),
|
||||
# Default position is slightly forward in Y, so as not to
|
||||
# intersect the near plane, which is incorrectly set to 0
|
||||
# in DX for some reason.
|
||||
('pos', (0, 0.1, 0), None),
|
||||
('pad', (0.1, 0.1), None),
|
||||
('text', '', None),
|
||||
('text_align', TMALIGNLEFT, None),
|
||||
|
|
|
|||
Loading…
Reference in New Issue