Page MenuHomeWildfire Games

Take gui.scale into account when repositioning tooltips
ClosedPublic

Authored by joskar on Jul 17 2017, 3:04 PM.

Details

Test Plan

To reproduce add:

gui.scale = "1.8"

into your user.cfg, then open 0A.D., go to 'Learn to play' -> 'Structure Tree' and hold the mouse over an icon on the right-hand side of the screen. The tooltip is not repositioning at all. (this is also true during actual gameplay itself)

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

joskar created this revision.Jul 17 2017, 3:04 PM
joskar updated this revision to Diff 2919.Jul 17 2017, 3:11 PM

Added my name to programming.json

elexis added a subscriber: elexis.

Maybe nicer to read if the last line is split.
The explicit conversion is not needed, is it?

joskar updated this revision to Diff 2921.Jul 17 2017, 3:45 PM

Removed explicit conversion.
Declarations on separate lines.

joskar updated this revision to Diff 2922.Jul 17 2017, 3:54 PM

Remove accidentally added *.swp file

Imarok accepted this revision.EditedJul 17 2017, 7:07 PM

Works as intended.
Code looks also good.
(Will commit it when commit freeze is over)

This revision is now accepted and ready to land.Jul 17 2017, 7:07 PM
This revision was automatically updated to reflect the committed changes.