Thread: curses window
View Single Post
  #10  
Unread 07-24-2011, 02:51 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

I found a lot of annoying things like that which happen with changing dynamic data.

Best method I found for only triggering things once was trigger a button or something that saves what the "last data" was and compares it before triggering. If it's the same value as last time, you simply don't trigger anything.

Just an example of sorts, but anything automated in the UI is prone to get executed multiple times when dealing with the data feed
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote