Fixed issue with stencil
This commit is contained in:
@@ -11,7 +11,7 @@ function FileSave(rune)
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
this.layer = new Layer("Export",this);
|
||||
this.layer = new Layer("Save.Export",this);
|
||||
ronin.surface.add_layer(this.layer);
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ function Overlay(rune)
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
this.layer = new Layer("Guide",this);
|
||||
this.layer = new Layer("Overlay.Guide",this);
|
||||
this.layer.element.setAttribute("style","z-index:9000");
|
||||
ronin.surface.add_layer(this.layer);
|
||||
}
|
||||
|
||||
@@ -9,6 +9,15 @@ function Render(rune)
|
||||
this.collection["rotate"] = new Filter_Rotate();
|
||||
this.collection["invert"] = new Filter_Invert();
|
||||
this.collection["chromatic"] = new Filter_Chromatic();
|
||||
|
||||
this.layer = null;
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
this.layer = new Layer("Render.Preview",this);
|
||||
this.layer.element.setAttribute("style","z-index:9000");
|
||||
ronin.surface.add_layer(this.layer);
|
||||
}
|
||||
|
||||
this.active = function(cmd)
|
||||
{
|
||||
@@ -29,7 +38,7 @@ function Render(rune)
|
||||
|
||||
this.hint = function(cmd)
|
||||
{
|
||||
var input = cmd.content.join(" ");
|
||||
var input = cmd.content.join(" ").trim();
|
||||
var s = this.pad(input);
|
||||
|
||||
if(this.collection[input]){
|
||||
|
||||
@@ -45,7 +45,6 @@ function Layer(name,manager = null)
|
||||
this.widget = function()
|
||||
{
|
||||
var e_name = "";
|
||||
if(this.manager != null){ e_name += this.manager.constructor.name+"."; }
|
||||
e_name += this.name;
|
||||
|
||||
var e_class = "";
|
||||
|
||||
@@ -9,7 +9,7 @@ function Typographe(rune)
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
this.layer = new Layer("TextPreview",this);
|
||||
this.layer = new Layer("Typographe.Preview",this);
|
||||
this.layer.element.setAttribute("style","z-index:7000");
|
||||
ronin.surface.add_layer(this.layer);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ function Vector(rune)
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
this.layer = new Layer("PathPreview",this);
|
||||
this.layer = new Layer("Vector.Preview",this);
|
||||
this.layer.element.setAttribute("style","z-index:8000");
|
||||
ronin.surface.add_layer(this.layer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user