function fixPositions() {
        utils.forEach(markers, function (pair) {
            var pixelRectangle = that.malakh.viewport.pixelRectangleFromPointRectangle(pair.rectangle, true);
            var object = pair.object;
            object.css({
                left: pixelRectangle.x,
                top: pixelRectangle.y,
                width: pixelRectangle.width,
                height: pixelRectangle.height,
            });
        });

    }
/**
     * Moves markers to fit canvas when moving.
     * @private
     */
Moves markers to fit canvas when moving.
@private
Moves markers to fit canvas when moving . @private
function fixPositions() {
        utils.forEach(markers, function (pair) {
            var pixelRectangle = that.malakh.viewport.pixelRectangleFromPointRectangle(pair.rectangle, true);
            var object = pair.object;
            object.css({
                left: pixelRectangle.x,
                top: pixelRectangle.y,
                width: pixelRectangle.width,
                height: pixelRectangle.height,
            });
        });
    }
function fixPositions ( ) { utils . forEach ( markers , function ( pair ) { var pixelRectangle = that . malakh . viewport . pixelRectangleFromPointRectangle ( pair . rectangle , true ) ; var object = pair . object ; object . css ( { left : pixelRectangle . x , top : pixelRectangle . y , width : pixelRectangle . width , height : pixelRectangle . height , } ) ; } ) ; }
Moves markers to fit canvas when moving.
Moves markers to fit canvas when moving .