Expand Tooltip


Hide the minimap when mousing over an entity.

Tweaks
2 years ago
1.0 - 1.1
3.25K

g Only hide minimap if tooltip goes off screen.

8 months ago

Don't know if these is even possible, but would be great to only hide the minimap if the tooltip doesn't fit on the screen.

8 months ago

I'd have to think about it. There are a lot of assumptions that could streamline it, but it could still be messy:
0) GUI scale
1) need to know the height of the research bar+minimap view
2) If the entity preview would close because it can already hide if the tooltip is too big
3) the size of the tooltip... could predict description and some other lines, or use translations to find exact
4) the amount of extra because of logistics information and whatnot
1, 2, and 3 can be calculated in advance for each prototype, 0 and 4 can be different.

I think this is more than I would want to do with this mod, but as a separate mod, if I or someone else were to do it, it doesn't sound impossible, just a littly sloppy with assumptions or getting it almost exact with a lot of calculations.

New response