Skip to content

Commit

Permalink
Ignore contrast when lineart
Browse files Browse the repository at this point in the history
See #439
  • Loading branch information
sbs20 committed Nov 15, 2022
1 parent df691e8 commit c4087a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Request {
if ('--brightness' in features) {
this.params.brightness = data.params.brightness || 0;
}
if ('--contrast' in features) {
if ('--contrast' in features && this.params.mode !== 'Lineart') {
this.params.contrast = data.params.contrast || 0;
}
if ('--disable-dynamic-lineart' in features) {
Expand Down

0 comments on commit c4087a1

Please sign in to comment.