Gitlab CSE Unil

Commit 65d25fde authored by Julien Furrer's avatar Julien Furrer
Browse files

Set maxStrokeWidth to 50

parent 430e6193
......@@ -241,7 +241,7 @@ function (paper, Signal, view) {
// ----- StrokeWidth ----------
var _maxStrokeWidth = 25;
var _maxStrokeWidth = 50;
var _minStrokeWidth = 1;
function setStrokeWidth(width, fireAnnotationChange, silent) {
_strokeWidth = (width > _maxStrokeWidth) ? _maxStrokeWidth : (width < _minStrokeWidth) ? _minStrokeWidth : width;
......
......@@ -534,7 +534,7 @@ function($, Signal, paper, config, view, io, tools, attributes, exporter, AnObjM
.toggleClass("disabled", config.disabled)
.find('.slider').slider({
min: 1,
max: 25,
max: 50,
step: 1,
orientation: 'vertical',
value: (paper && paper.projet) ? paper.project.currentStyle.strokeWidth : 5,
......
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