Fixed issue with stencil

This commit is contained in:
Devine Lu Linvega
2017-01-18 09:37:22 -07:00
parent 74dcfd1487
commit d768306ab1
7 changed files with 40 additions and 26 deletions

View File

@@ -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);
}

View File

@@ -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);
}

View File

@@ -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]){

View File

@@ -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 = "";

View File

@@ -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);
}

View File

@@ -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);
}