pull/1840/head
bunsenstraat 3 years ago
parent 1840a9a4c2
commit 97b6aa690a
  1. 8
      apps/remix-ide/src/app-component.js

@ -147,10 +147,10 @@ class AppComponent {
{ appManager, blockchain },
{
getPosition: (event) => {
var limitUp = 36
var limitDown = 20
var height = window.innerHeight
var newpos = (event.pageY < limitUp) ? limitUp : event.pageY
const limitUp = 36
const limitDown = 20
const height = window.innerHeight
let newpos = (event.pageY < limitUp) ? limitUp : event.pageY
newpos = (newpos < height - limitDown) ? newpos : height - limitDown
return height - newpos
}

Loading…
Cancel
Save