round span values

This commit is contained in:
rolux 2015-02-05 07:41:25 +00:00
parent 8c64ccb50f
commit ed2c73d732

View file

@ -171,7 +171,7 @@ pandora.ui.documentDialog = function(options) {
center: function(data) { center: function(data) {
pandora.UI.set( pandora.UI.set(
'documents.' + item.id, 'documents.' + item.id,
{position: $content.getArea()} {position: $content.getArea().map(Math.round)}
); );
}, },
key_escape: function() { key_escape: function() {
@ -186,7 +186,7 @@ pandora.ui.documentDialog = function(options) {
zoom: function(data) { zoom: function(data) {
pandora.UI.set( pandora.UI.set(
'documents.' + item.id, 'documents.' + item.id,
{position: $content.getArea()} {position: $content.getArea().map(Math.round)}
); );
} }
}) })