Skip to content

Commit

Permalink
fix qt rect
Browse files Browse the repository at this point in the history
  • Loading branch information
taquy committed May 24, 2019
1 parent c2b76a2 commit fbde341
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Binary file modified backend/TextDetector/__pycache__/__init__.cpython-35.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ def upload_file():
return 'invalid file'

if __name__ == '__main__':
app.run(port='5001')
app.run(port='8081')
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.2
version: 0.2f
env:
variables:
AWS_DEFAULT_REGION: "ap-southeast-1"
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/assets/js/QtRectangy.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,12 @@ class Zoomer {
// let dx = (e.pageX - cp.left) * (r - 1),
// dy = (e.pageY - cp.top) * (r - 1);
//
// CONTAINER.css({
// width: nw,
// height: nh,
// left: cp.left - dx,
// top: cp.top - dy,
// });
CONTAINER.css({
width: nw,
height: nh,
// left: cp.left - dx,
// top: cp.top - dy,
});

// resize box
$('[box]').each(function (e) {
Expand Down Expand Up @@ -439,7 +439,7 @@ class DrawingROIStrategy {
// create new label
let label = $('<input class="label"/>');
label.css({
backgroundColor: 'rgba(' + color + ', 0.5)'
backgroundColor: 'rgba(' + color + ', 0.6)'
});

function resizeInput() {
Expand Down

0 comments on commit fbde341

Please sign in to comment.