Merge pull request #2402 from WizardCM/mouse-hotkey-resize
UI: Allow resizing docks when hotkeys are disabled
This commit is contained in:
commit
da326f63f5
@ -93,7 +93,8 @@ QObject *CreateShortcutFilter()
|
||||
{
|
||||
return new OBSEventFilter([](QObject *obj, QEvent *event) {
|
||||
auto mouse_event = [](QMouseEvent &event) {
|
||||
if (!App()->HotkeysEnabledInFocus())
|
||||
if (!App()->HotkeysEnabledInFocus() &&
|
||||
event.button() != Qt::LeftButton)
|
||||
return true;
|
||||
|
||||
obs_key_combination_t hotkey = {0, OBS_KEY_NONE};
|
||||
|
Loading…
x
Reference in New Issue
Block a user