Skip to content

Commit

Permalink
Make OCR settings selection image scale up less.
Browse files Browse the repository at this point in the history
Previously, if you selected a long, thin row of pixels it would extend
past the end of your screen so you'd have to make another selection
before you could change any settings.
Setting the css to use height doesn't give you a huge zoom on small
selections like the previous setting did, but it's less disruptive.
  • Loading branch information
agloo committed Aug 29, 2021
1 parent 8bc5097 commit ebc4b7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ video, canvas {
color: white;
}
.canvasContextSelectionImage {
width: 100%;
height: 100%;
max-width:100%;
max-height:100%;
display: block;
}
.welcome-card-wide.mdl-card {
Expand Down

0 comments on commit ebc4b7b

Please sign in to comment.