update widgets

This commit is contained in:
IlyaShurupov 2024-05-06 16:33:35 +03:00
parent c41dcf9efa
commit eb079e1386
24 changed files with 284 additions and 370 deletions

View file

@ -35,10 +35,10 @@ bool transitionsReduce[4][4] = {
void EventHandler::processEvent() {
mMutex.lock();
auto lastEvent = mEventQueue.last();
auto lastEvent = &mEventQueue.last();
const auto& eventData = lastEvent->data.second;
const auto& inputId = lastEvent->data.first;
const auto& eventData = lastEvent->second;
const auto& inputId = lastEvent->first;
switch (eventData.type) {
case InputEvent::Type::MOUSE_POS: