]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix #2784 "Serverlist icon tooltips are wrongly offset" if categories aren't enabled...
authorterencehill <piuntn@gmail.com>
Thu, 22 Dec 2022 23:16:21 +0000 (00:16 +0100)
committerterencehill <piuntn@gmail.com>
Thu, 22 Dec 2022 23:16:21 +0000 (00:16 +0100)
commitb509ee926b8bf494eb0e699854c019415e82a4d9
treed5e872216eb9f949876fb6f6031b4dab9df2e86f
parent5e1a37b3e0d0d1f967328c89b0fb74be868bce3a
Fix #2784 "Serverlist icon tooltips are wrongly offset" if categories aren't enabled (and slightly wrongly offset if categories are enabled). Also improve icons display:

* center only the visible icons in the icons column
* don't spawn the tooltip when mouse is hovering over the invisible IP icon
* don't show bigger icons if categories aren't enabled since the icons column can't be resized on the fly
qcsrc/menu/xonotic/serverlist.qc