New UI not interacting well with Chat

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

New UI not interacting well with Chat

#1 Post by yufra »

I saw this first in VR, and then confirmed it with the apprentice quest in ToME. In both cases a call to the showEquipInven function is used to select an item from the inventory to give to the NPC. The inventory UI element appears, but it is not in focus and the chat continues in front of the inventory UI element. Is the new UI using coroutines or something that would cause the chat action function to not be waiting for the inventory UI element to close?
<DarkGod> lets say it's intended

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: New UI not interacting well with Chat

#2 Post by darkgod »

Ah fixed!

This is because Chat dialog now recreates itself at each step, thus it gained focus doing so.
I added a Game:replaceDialog() method to avoid that
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply