mirror of
https://github.com/hyprwm/Hypr.git
synced 2026-05-08 16:18:02 +02:00
faster split ratio change
This commit is contained in:
parent
e94a78af16
commit
26ad632b60
1 changed files with 2 additions and 2 deletions
|
|
@ -2594,10 +2594,10 @@ void CWindowManager::changeSplitRatioCurrent(const char& dir) {
|
|||
|
||||
switch(dir) {
|
||||
case '+':
|
||||
PARENT->setSplitRatio(PARENT->getSplitRatio() + 0.05f);
|
||||
PARENT->setSplitRatio(PARENT->getSplitRatio() + 0.1f);
|
||||
break;
|
||||
case '-':
|
||||
PARENT->setSplitRatio(PARENT->getSplitRatio() - 0.05f);
|
||||
PARENT->setSplitRatio(PARENT->getSplitRatio() - 0.1f);
|
||||
break;
|
||||
default:
|
||||
Debug::log(ERR, "changeSplitRatioCurrent called with an invalid dir!");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue