Fixes scroll of devices over inventory toolbox title.

Fixes a defect where the devices in the inventory toolbox
would scroll over the toolbox title.   This moves the title
later in the rendering order and adds a background to the title.
This commit is contained in:
Ben Thomasson 2018-04-30 10:40:30 -04:00
parent 7781667977
commit 456bf5d04d
No known key found for this signature in database
GPG Key ID: 1CF3F568D230D784

View File

@ -6,11 +6,7 @@
ng-attr-width="{{toolbox.width}}"
ng-attr-height="{{toolbox.height}}"
rx=5></rect>
<text
class="NetworkUI__toolbox--title"
ng-attr-transform="translate({{toolbox.title_coordinates.x}},{{toolbox.title_coordinates.y}})">
{{toolbox.name}}
</text>
<g clip-path="url(#inventory-toolbox-clip-path)">
<g ng-attr-transform="translate({{toolbox.x}}, {{toolbox.y+20}})">
@ -92,4 +88,10 @@
</g> <!-- end selected item -->
</g> <!-- ng-if -->
</g> <!-- ng-if toolbox.enabled -->
<text
class="NetworkUI__toolbox--title"
filter="url(#background)"
ng-attr-transform="translate({{toolbox.title_coordinates.x}},{{toolbox.title_coordinates.y}})">
{{toolbox.name}}
</text>
</g> <!-- ng-if !hide_menus -->