|
|
@@ -219,8 +219,8 @@
|
|
|
onTouchMove: function (e) {
|
|
|
let width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
|
|
|
let height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
|
|
|
- let x = Math.min(width - 20, e.touches[0].clientX)
|
|
|
- let y = Math.min(height - 20, e.touches[0].clientY)
|
|
|
+ let x = Math.min(width - 40, e.touches[0].clientX)
|
|
|
+ let y = Math.min(height - 40, e.touches[0].clientY)
|
|
|
x = Math.max(0, x)
|
|
|
y = Math.max(0, y)
|
|
|
e.preventDefault()
|
|
|
@@ -287,7 +287,7 @@
|
|
|
position: fixed;
|
|
|
right: .25rem;
|
|
|
top: .25rem;
|
|
|
- z-index: 300;
|
|
|
+ z-index: 1000;
|
|
|
color: #fff;
|
|
|
background: rgba( 0, 0, 0, .251 );
|
|
|
width: .8rem;
|