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