mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-16 12:49:59 +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
|
// check if target is a Source with image processing enabled
|
||||||
bool withimageprocessing = false;
|
bool withimageprocessing = false;
|
||||||
if ( selected_target.index() == 1 ) {
|
if ( target.index() == 1 ) {
|
||||||
if (Source * const* v = std::get_if<Source *>(&selected_target)) {
|
if (Source * const* v = std::get_if<Source *>(&target)) {
|
||||||
withimageprocessing = (*v)->imageProcessingEnabled();
|
withimageprocessing = (*v)->imageProcessingEnabled();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user