mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
DolphinQt: Break mapping indicators into separate classes. Ensure "state lock" is held on redraw.
This commit is contained in:
@ -544,7 +544,7 @@ void InputStateDelegate::paint(QPainter* painter, const QStyleOptionViewItem& op
|
||||
rect.setWidth(rect.width() * std::clamp(state, 0.0, 1.0));
|
||||
|
||||
// Create a temporary indicator object to retreive color constants.
|
||||
MappingIndicator indicator(nullptr);
|
||||
MappingIndicator indicator;
|
||||
|
||||
painter->save();
|
||||
|
||||
|
Reference in New Issue
Block a user