mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 12:20:01 +01:00
BugFix UI Input Mapping
This commit is contained in:
@@ -5874,8 +5874,8 @@ void InputMappingInterface::Render()
|
||||
|
||||
// check if target is a Source with image processing enabled
|
||||
bool withimageprocessing = false;
|
||||
if ( selected_target.index() == 1 ) {
|
||||
if (Source * const* v = std::get_if<Source *>(&selected_target)) {
|
||||
if ( target.index() == 1 ) {
|
||||
if (Source * const* v = std::get_if<Source *>(&target)) {
|
||||
withimageprocessing = (*v)->imageProcessingEnabled();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user