1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-05-04 14:18:18 +08:00
parent ac6f14877c
commit 1a00d79809
2 changed files with 3 additions and 1 deletions

View File

@ -682,7 +682,7 @@ Volcanos(chat.ONMOTION, {_init: function(can, target) {
window._scroll = _window.onmousemove
}, _window.onmouseup = function(event) { target = null, begin = {}, delete(window._scroll) }
_window.onmousemove = function(event) {
if (window._scroll) { can.onkeymap.prevent(event)
if (window._scroll && target) { can.onkeymap.prevent(event)
switch (action) {
case "left":
can.page.style(can, target, html.LEFT, can.base.Min(begin.left + event.x - begin.x, 0, window.innerWidth-target.offsetWidth))

View File

@ -94,6 +94,8 @@ var web = {CHAT: "chat",
CODE_XTERM: "web.code.xterm", CODE_VIMER: "web.code.vimer", CODE_INNER: "web.code.inner",
WIKI_WORD: "web.wiki.word", WIKI_DRAW: "web.wiki.draw", WIKI_FEEL: "web.wiki.feel",
TEAM_PLAN: "web.team.plan",
UPDATE: "update",
HIDDEN: "hidden",
}
var aaa = {
LOGIN: "login", LOGOUT: "logout", INVITE: "invite", TOKEN: "token",