forked from x/icebergs
add some
This commit is contained in:
parent
0c62da9a08
commit
03e18c9325
@ -80,6 +80,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
item.height = can.base.Max(html.DESKTOP_HEIGHT, item.height), item.width = can.base.Max(html.DESKTOP_WIDTH, item.width)
|
item.height = can.base.Max(html.DESKTOP_HEIGHT, item.height), item.width = can.base.Max(html.DESKTOP_WIDTH, item.width)
|
||||||
if (can.base.isIn(item.index, web.CODE_VIMER)) { item.width = can.base.Max(1600, can.ConfWidth()), item.left = (can.ConfWidth()-item.width)/2 }
|
if (can.base.isIn(item.index, web.CODE_VIMER)) { item.width = can.base.Max(1600, can.ConfWidth()), item.left = (can.ConfWidth()-item.width)/2 }
|
||||||
item.style = {left: item.left, top: item.top, height: item.height, width: item.width}
|
item.style = {left: item.left, top: item.top, height: item.height, width: item.width}
|
||||||
|
item.type = html.PLUGIN
|
||||||
can.onappend.plugin(can, item, function(sub) { can.ondetail.select(can, sub._target)
|
can.onappend.plugin(can, item, function(sub) { can.ondetail.select(can, sub._target)
|
||||||
can.page.style(can, sub._target, html.HEIGHT, item.height, html.WIDTH, item.width)
|
can.page.style(can, sub._target, html.HEIGHT, item.height, html.WIDTH, item.width)
|
||||||
var index = 0; can.core.Item({
|
var index = 0; can.core.Item({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user