mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-03 07:05:52 -05:00
Improve performance for drag and drop
- Changing the style sheets for the selection frame dynamically considerably slowed down the handling of the mouse events. Instead two separate widgets with fixed style sheets are now used. - Recreating the macro segments after dropping a widget took too much time leading to unresponsive drop operations
This commit is contained in:
@@ -601,11 +601,6 @@ void AdvSceneSwitcher::MinimizeConditions()
|
||||
ui->macroSplitter->setSizes(sizes);
|
||||
}
|
||||
|
||||
void AdvSceneSwitcher::SetSelection(MacroSegmentList *list, int idx)
|
||||
{
|
||||
list->SetSelection(idx);
|
||||
}
|
||||
|
||||
void AdvSceneSwitcher::DeleteMacroSegementHotkey()
|
||||
{
|
||||
if (currentActionIdx != -1) {
|
||||
|
||||
Reference in New Issue
Block a user