mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: remove useless code
This commit is contained in:
parent
1afb1d6240
commit
10e6a8f08a
1 changed files with 0 additions and 4 deletions
|
|
@ -331,10 +331,6 @@ void resize_tile_master_vertical(Client *grabc, bool isdrag, int offsetx,
|
|||
delta_x = delta_x * 2;
|
||||
}
|
||||
|
||||
if (!grabc->ismaster && grabc->isleftslave && type == CENTER_TILE) {
|
||||
delta_x = delta_x * -1.0f;
|
||||
}
|
||||
|
||||
// 直接设置新的比例,基于初始值 + 变化量
|
||||
float new_master_mfact_per = grabc->old_master_mfact_per +
|
||||
delta_y; // 垂直:delta_y调整主区域高度
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue