Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
13 stars 5 forks source link

Inventory tooltip #347

Closed snipercup closed 2 months ago

snipercup commented 2 months ago

Requires #346 Fixes #343

There were two tooltips. One was displayed by the CtrlInventorytStackedCustom control. The other one was displayed by the inventory window. The first one was actually active, but displayed behind the equipmentslots. The second one, displayed by the inventory window, was disabled since nothing would trigger it.

I removed the tooltip from the CtrlInventoryStackedCustom and connected the signals to the InventoryWindow's tooltip. The tooltip will now show without delay and also contains attribute data.