New glyph for "has transparent"

This commit is contained in:
David Rowe 2016-09-10 14:37:09 +12:00
parent a06f49f791
commit 44282499c5
4 changed files with 19 additions and 2 deletions

View file

@ -998,6 +998,18 @@ textarea:enabled[scrolling="true"]::-webkit-resizer {
left: -2px;
}
th#entity-hasTransparent .glyph {
font-weight: normal;
font-size: 24px !important;
margin: -6px;
position: relative;
top: -6px;
}
th#entity-hasTransparent .sort-order {
position: relative;
top: -4px;
}
#entity-table td {
box-sizing: border-box;
}
@ -1006,6 +1018,11 @@ textarea:enabled[scrolling="true"]::-webkit-resizer {
text-align: center;
padding: 0;
}
#entity-table td.hasTransparent.glyph {
font-size: 22px;
position: relative;
top: -1px;
}
#entity-table tfoot {
box-sizing: border-box;

View file

@ -60,7 +60,7 @@
<th id="entity-verticesCount">Verts<span class="sort-order"></span></th>
<th id="entity-texturesCount">Texts<span class="sort-order"></span></th>
<th id="entity-texturesSize">T Size<span class="sort-order"></span></th>
<th id="entity-hasTransparent"><span class="glyph">'</span><span class="sort-order"></span></th>
<th id="entity-hasTransparent"><span class="glyph">&#xe00b;</span><span class="sort-order"></span></th>
<th id="entity-drawCalls">Draws<span class="sort-order"></span></th>
<th colspan="1" id="entity-hasScript"><span class="glyph">k</span><span class="sort-order"></span></th>
</tr>

View file

@ -16,7 +16,7 @@ const ASCENDING_STRING = '&#x25B4;';
const DESCENDING_STRING = '&#x25BE;';
const LOCKED_GLYPH = "&#xe006;";
const VISIBLE_GLYPH = "&#xe007;";
const TRANSPARENCY_GLYPH = "'";
const TRANSPARENCY_GLYPH = "&#xe00b;";
const SCRIPT_GLYPH = "k";
const DELETE = 46; // Key code for the delete key.
const MAX_ITEMS = Number.MAX_VALUE; // Used to set the max length of the list of discovered entities.