Gitlab CSE Unil
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
M. Chardon
ADIM
Commits
65d25fde
Commit
65d25fde
authored
Sep 30, 2014
by
Julien Furrer
Browse files
Set maxStrokeWidth to 50
parent
430e6193
Changes
2
Hide whitespace changes
Inline
Side-by-side
adim_app/static/_src/adim/attributes.js
View file @
65d25fde
...
...
@@ -241,7 +241,7 @@ function (paper, Signal, view) {
// ----- StrokeWidth ----------
var
_maxStrokeWidth
=
2
5
;
var
_maxStrokeWidth
=
5
0
;
var
_minStrokeWidth
=
1
;
function
setStrokeWidth
(
width
,
fireAnnotationChange
,
silent
)
{
_strokeWidth
=
(
width
>
_maxStrokeWidth
)
?
_maxStrokeWidth
:
(
width
<
_minStrokeWidth
)
?
_minStrokeWidth
:
width
;
...
...
adim_app/static/_src/adim/ui.js
View file @
65d25fde
...
...
@@ -534,7 +534,7 @@ function($, Signal, paper, config, view, io, tools, attributes, exporter, AnObjM
.
toggleClass
(
"
disabled
"
,
config
.
disabled
)
.
find
(
'
.slider
'
).
slider
({
min
:
1
,
max
:
2
5
,
max
:
5
0
,
step
:
1
,
orientation
:
'
vertical
'
,
value
:
(
paper
&&
paper
.
projet
)
?
paper
.
project
.
currentStyle
.
strokeWidth
:
5
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment