Gitlab CSE Unil

Commit 204f7a1d authored by Julien Furrer's avatar Julien Furrer
Browse files

Small bug fixes

Redirection after removing current image is
no more absolute

Initial color of arrows should be fixed
parent ce419ff3
......@@ -150,6 +150,8 @@ define(["paper"], function (paper) {
drawArrow(newArrow, {from: from, to: to});
_scaleArrow.call(newArrow, scale);
_setFill.call(newArrow, paper.project.currentStyle.fillColor);
_setColor.call(newArrow, paper.project.currentStyle.strokeColor);
// Extend tool's item properties with default values
params.prop = (typeof params.prop === 'object') ? params.prop : {};
......
......@@ -91,7 +91,7 @@ function($, _, Backbone){
wait: true,
success:function(model){
if (model._editedAnObj) {
document.location.assign('/annotate/');
document.location.assign('../');
}
me.$el.fadeOut($.fn.remove);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment