Skip to content

Commit 2012ca5

Browse files
author
Kamil Nikel
committed
Remove unused CSS and canvas styles
1 parent 4787fcb commit 2012ca5

2 files changed

Lines changed: 0 additions & 20 deletions

File tree

src/component/ImageComponent.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ export class ImageComponent extends Component {
4141
let cw: number = canvas.clientWidth;
4242
let ch: number = canvas.clientHeight;
4343

44-
ctx.fillStyle = "black"; // todo: This should be customizable by the end user
45-
ctx.fillRect(0, 0, cw, ch);
46-
4744
let adaptableDomRenderer: HTMLElement = canvas.parentElement;
4845

4946
canvas.width = adaptableDomRenderer.offsetWidth;

styles/mapillary-js.css

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,6 @@
1414
overflow: hidden;
1515
}
1616

17-
/*
18-
.mapillary-js {
19-
position: relative;
20-
width: 100%;
21-
height: auto;
22-
padding-bottom: 75%;
23-
}
24-
25-
.mapillary-js > canvas {
26-
position: absolute;
27-
top: 0;
28-
right: 0;
29-
bottom: 0;
30-
left: 0;
31-
}
32-
*/
33-
3417
.rectContainer {
3518
position: absolute;
3619
top: 0;

0 commit comments

Comments
 (0)