Skip to content

Commit 3f488b8

Browse files
author
llaske
committed
Fix scrolling issue on iPad in Calligra
1 parent de67e50 commit 3f488b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

activities/Calligra.activity/js/palettes/zoompalette.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define(['sugar-web/graphics/palette','mustache'], function(palette, mustache) {
4545
if (this == buttons[j]) break;
4646
that.zoomEvent.detail.zoom = j;
4747
that.getPalette().dispatchEvent(that.zoomEvent);
48-
if (j == 1) that.popDown();
48+
that.popDown();
4949
});
5050
}
5151
popDownOnButtonClick({

activities/Calligra.activity/js/player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var Player = {
3838
// Compute optimal size for letter
3939
var vm = this;
4040
var body = document.getElementById("canvas") || document.getElementById("body");
41-
var body_height = body.offsetHeight-50;
41+
var body_height = body.offsetHeight-100;
4242
var body_width = body.offsetWidth-50;
4343
var size = { width: body_width, height: body_height };
4444
vm.size = Math.min(size.width, size.height);

0 commit comments

Comments
 (0)