Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki
This commit is contained in:
commit
f1e47a7ec5
|
@ -4001,7 +4001,7 @@
|
|||
{sel:'#tool_source_cancel,#svg_source_overlay,#tool_docprops_cancel,#tool_prefs_cancel', fn: cancelOverlays, evt: 'click', key: ['esc', false, false], hidekey: true},
|
||||
{sel:'#tool_source_save', fn: saveSourceEditor, evt: 'click'},
|
||||
{sel:'#tool_docprops_save', fn: saveDocProperties, evt: 'click'},
|
||||
{sel:'#tool_docprops', fn: showDocProperties, evt: 'mouseup', key: ['D', true]},
|
||||
{sel:'#tool_docprops', fn: showDocProperties, evt: 'mouseup'},
|
||||
{sel:'#tool_prefs_save', fn: savePreferences, evt: 'click'},
|
||||
{sel:'#tool_prefs_option', fn: function() {showPreferences();return false}, evt: 'mouseup'},
|
||||
{sel:'#tool_delete,#tool_delete_multi', fn: deleteSelected, evt: 'click', key: ['del/backspace', true]},
|
||||
|
@ -4647,7 +4647,7 @@
|
|||
updateCanvas(true);
|
||||
// });
|
||||
|
||||
// var revnums = "svg-editor.js ($Rev: 2037 $) ";
|
||||
// var revnums = "svg-editor.js ($Rev: 2041 $) ";
|
||||
// revnums += svgCanvas.getVersion();
|
||||
// $('#copyright')[0].setAttribute("title", revnums);
|
||||
|
||||
|
|
|
@ -6424,7 +6424,7 @@ this.getZoom = function(){return current_zoom;};
|
|||
// Function: getVersion
|
||||
// Returns a string which describes the revision number of SvgCanvas.
|
||||
this.getVersion = function() {
|
||||
return "svgcanvas.js ($Rev: 2028 $)";
|
||||
return "svgcanvas.js ($Rev: 2040 $)";
|
||||
};
|
||||
|
||||
// Function: setUiStrings
|
||||
|
@ -8603,6 +8603,14 @@ this.updateCanvas = function(w, h) {
|
|||
y: y
|
||||
});
|
||||
|
||||
var bg_img = getElem('background_image');
|
||||
if (bg_img) {
|
||||
assignAttributes(bg_img, {
|
||||
'width': '100%',
|
||||
'height': '100%'
|
||||
});
|
||||
}
|
||||
|
||||
selectorManager.selectorParentGroup.setAttribute("transform","translate(" + x + "," + y + ")");
|
||||
|
||||
return {x:x, y:y, old_x:old_x, old_y:old_y, d_x:x - old_x, d_y:y - old_y};
|
||||
|
|
Loading…
Reference in a new issue