Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from idietmoran/dev
Browse files Browse the repository at this point in the history
removed flickering
  • Loading branch information
Stateford committed Nov 8, 2017
2 parents 73a3b0c + 0504d9a commit 02fc315
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,14 @@ void Menu::alliesMenu(DWORD &mode, INPUT_RECORD &event, HANDLE &hstdin)
{
DWORD count;

// reduce flickering with GetAsyncKeyState() or GetKeyState() possibly...
// requires more testing
/*
fflogs_->arch_->updateNames(fflogs_->ffxiv_, fflogs_->partyMembers_);

if(prevPartySize_ != fflogs_->partyMembers_)
{
prevPartySize_ = fflogs_->partyMembers_;
redraw();
}
*/


if(WaitForSingleObject(hstdin, 0) == WAIT_OBJECT_0)
{
Expand Down Expand Up @@ -101,7 +100,7 @@ void Menu::alliesMenu(DWORD &mode, INPUT_RECORD &event, HANDLE &hstdin)
fflogs_->arch_->getFilteredAllies()[currentMenuSelection_]->openBrowser();
break;
default:
redraw();
//redraw();
break;
}
}
Expand Down

0 comments on commit 02fc315

Please sign in to comment.