Implemented rect_offset, rect and pos.

This commit is contained in:
Devine Lu Linvega
2017-09-27 10:36:55 +13:00
parent 527da673c8
commit db6c2f1656
4 changed files with 21 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ yu { display:block; }
#ronin { background:#eee; height: 100vh; width:100vw; }
#grid { z-index:1;position: fixed; }
#guide { z-index:700;position: fixed; }
#render { z-index:800; position: fixed; }
#commander { position: fixed; bottom:15px; left:5px; width:100vw; height:20px; line-height: 20px; -webkit-user-select: none;-webkit-app-region: drag; z-index:900;}
#commander input { background: transparent;width: calc(100vw - 30px);display: block;line-height: 20px;font-size: 11px;color: black; margin-left:20px; }