mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
fix: open animaiton rule not apply in slide
This commit is contained in:
parent
496cfcb7bf
commit
6ffd3fea89
1 changed files with 1 additions and 1 deletions
2
maomao.c
2
maomao.c
|
|
@ -4422,7 +4422,7 @@ void set_open_animaiton(Client *c, struct wlr_box geo) {
|
|||
int vertical, vertical_value;
|
||||
int special_direction;
|
||||
int center_x, center_y;
|
||||
if (strcmp(animation_type_open, "zoom") == 0 ||
|
||||
if ((!c->animation_type_open && strcmp(animation_type_open, "zoom") == 0) ||
|
||||
(c->animation_type_open && strcmp(c->animation_type_open, "zoom") == 0)) {
|
||||
c->animainit_geom.width = c->geom.width * zoom_initial_ratio;
|
||||
c->animainit_geom.height = c->geom.height * zoom_initial_ratio;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue