again lost in peril... (on krpano 1.19pr5)
i just ran into problems changing the contextmenu,
when i have included the standard vtourskin.xml
having this in one of my xmls
does not change the context menu at all.
next try was this:
Code
<action name="contextmenu_init" autorun="preinit">
for(set(i,0), i LT contextmenu.item.count, inc(i), set(contextmenu.item[get(i)].visible, false) );
</action>
which works, but strangely still does NOT remove the Fullscreen item.
ofc i could modify the vtourskin.xml,
but i rather leave it as it is and work only with overrides in my xmls.
anybody with a solution for this?
for me it looks like the contextmenu property fullscreen does not have an effect,
if there is still an item with name fs present.
ps.
i also tried removearrayitem(), but it seems that this is only supported in js.
so, as a side question... is there a way to remove an array item with action code?