Skip to content

Commit

Permalink
change default values of the addrect()
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Feb 27, 2020
1 parent dbfba43 commit e1f92a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/modules/annotations/Annotations.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,13 @@ export default class Annotations {
x: params.x || 0,
y: params.y || 0,
width: params.width || '100%',
height: params.height || 0,
height: params.height || 50,
rotate: params.rotate || 0,
backgroundColor: params.backgroundColor || 'transparent',
backgroundColor: params.backgroundColor || '#fff',
opacity: params.opacity || 1,
borderWidth: params.borderWidth || 0,
borderRadius: params.borderRadius || 0,
borderColor: params.borderColor || 0
borderRadius: params.borderRadius || 4,
borderColor: params.borderColor || '#c2c2c2'
}

let me = this
Expand Down
2 changes: 1 addition & 1 deletion src/modules/settings/Options.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default class Options {
opacity: 1,
borderWidth: 0,
borderRadius: 4,
borderColor: '#ccc'
borderColor: '#c2c2c2'
}
}
init() {
Expand Down

0 comments on commit e1f92a7

Please sign in to comment.