Comments (3)
Delayed
from kiwiiteminfo.
I'll start this when I get home.
from kiwiiteminfo.
So I started work on this. It is interesting. It appears that I have no way to do it prettier than to make local-to-file variables outside an event function to keep track of the current tooltips, as they appear 1 by 1 and execute OnTooltipSetItem event twicefor GameTooltip. Also, OnTooltipCleared also pops twice.
So, the OnTooltipSetItem handler can set the data it needs as the tooltip pops up and draw any data it has to the tooltip. The OnTooltipCleared can reset the data to nil when nothing is being compared. However, a latch needs to be used with the OnTooltipCleared method. This is a bit brutal and a bit more hectic than I like.
Once I figure out how I want it organized and such, I will release a beta.
A way to get around this is if I get the current items equipped and reinvent what will happen, then wait for all tooltips to be present before actually operating. The latch may be able to be removed if I check if the tooltips in question are actually shown to the player.
from kiwiiteminfo.
Related Issues (20)
- Export command strings to locale HOT 1
- Translate frFR.lua strings HOT 16
- Translate itIT.lua strings HOT 1
- Translate koKR.lua strings HOT 1
- Translate ruRU.lua strings HOT 1
- Translate zhTW.lua strings HOT 2
- How should the translation links look in README*.md? HOT 3
- Translations need commands translated HOT 2
- Salvage denied translation PRs that pushed to wrong branch but was forgotten
- Create Wiki to Debut Functionality and Provide Documentation
- Most of all README*.md need translated/fully translated
- Display RAW Contribution on Selected Piece of Equipment
- README*.md needs new images
- How do y'all feel about me replacing the Character Frame name?
- Display stat effectiveness to aid in choosing item
- Lua Error in 2.3.4 HOT 4
- Complete the translation in the zhcn.lua file HOT 3
- Error message when mouse over aux's search results. HOT 2
- Random Error HOT 3
- Bug with item compare HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kiwiiteminfo.