push panel slightly into the screen to work around DX bug

This commit is contained in:
David Rose 2001-10-17 14:28:14 +00:00
parent 5827e89469
commit 355b3144c8

View File

@ -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),