]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Do not spawn the close button on menu dialogs if HEIGHT_DIALOGBORDER is 0 (skin file...
authorterencehill <piuntn@gmail.com>
Mon, 11 Apr 2011 15:28:32 +0000 (17:28 +0200)
committerterencehill <piuntn@gmail.com>
Mon, 11 Apr 2011 15:28:32 +0000 (17:28 +0200)
commit1a508800c7746487ea72692956139f1061364acf
treec05eff10f8209a927a55c145c192aac5118cf1f9
parent00f45c5adc0efe49e799a3aef81d1d6fe540a90d
Do not spawn the close button on menu dialogs if HEIGHT_DIALOGBORDER is 0 (skin file attribute). Button was shown bigger than normal rather than invisible because drawpic displays an image with its real dimension when given input size is '0 0'
It's still possible to close a dialog by pressing the ESC key.
qcsrc/menu/item/dialog.c