Просмотр исходного кода

Fix the grow/shrink buttons not updating the sidebar

tags/v0.1.0
Fen Dweller 6 лет назад
Родитель
Сommit
c85f63be5e
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      macrovision.js

+ 2
- 0
macrovision.js Просмотреть файл

@@ -1311,6 +1311,8 @@ function doSize() {
const oldHeight = entity.views[entity.view].height; const oldHeight = entity.views[entity.view].height;
entity.views[entity.view].height = math.multiply(oldHeight, 1 + sizeDirection/20); entity.views[entity.view].height = math.multiply(oldHeight, 1 + sizeDirection/20);
entity.dirty = true; entity.dirty = true;
updateEntityOptions(entity, entity.view);
updateViewOptions(entity, entity.view);
updateSizes(true); updateSizes(true);
sizeDirection *= 1.05; sizeDirection *= 1.05;
} }


Загрузка…
Отмена
Сохранить