pixl-xyapp 2.1.29 → 2.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/base.css +6 -4
- package/js/page.js +5 -5
- package/js/popover.js +1 -1
- package/package.json +1 -1
package/css/base.css
CHANGED
|
@@ -185,7 +185,8 @@ button.link {
|
|
|
185
185
|
margin: 0;
|
|
186
186
|
font: inherit;
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
|
|
189
|
+
.link.icon_pad i.mdi {
|
|
189
190
|
padding-right: 5px;
|
|
190
191
|
}
|
|
191
192
|
|
|
@@ -1594,9 +1595,7 @@ fieldset.info_fieldset {
|
|
|
1594
1595
|
background: transparent;
|
|
1595
1596
|
border: 1px solid var(--border-color);
|
|
1596
1597
|
padding: 15px;
|
|
1597
|
-
margin
|
|
1598
|
-
margin-left: 0;
|
|
1599
|
-
margin-right: 0;
|
|
1598
|
+
margin: 12px 0 12px 0;
|
|
1600
1599
|
}
|
|
1601
1600
|
fieldset.info_fieldset > legend {
|
|
1602
1601
|
padding-left: 5px;
|
|
@@ -1611,6 +1610,9 @@ fieldset.info_fieldset > .tool_desc {
|
|
|
1611
1610
|
font-size: 12px;
|
|
1612
1611
|
color: var(--label-color);
|
|
1613
1612
|
}
|
|
1613
|
+
fieldset.info_fieldset > .tool_desc.empty {
|
|
1614
|
+
margin-bottom: 0px;
|
|
1615
|
+
}
|
|
1614
1616
|
|
|
1615
1617
|
body.dark fieldset.info_fieldset {
|
|
1616
1618
|
border: 1px solid rgb(60, 65, 70);
|
package/js/page.js
CHANGED
|
@@ -1525,10 +1525,10 @@ window.PageManager = class PageManager {
|
|
|
1525
1525
|
else throw("Page " + id + " onActivate did not return a boolean!");
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
|
-
deactivate(id, new_id) {
|
|
1528
|
+
deactivate(id, new_id, anchor) {
|
|
1529
1529
|
// send deactivate event to page by id (i.e. Plugin Name)
|
|
1530
1530
|
var page = this.find(id);
|
|
1531
|
-
var result = page.onDeactivate(new_id);
|
|
1531
|
+
var result = page.onDeactivate(new_id, anchor);
|
|
1532
1532
|
if (result) {
|
|
1533
1533
|
$('#page_'+id).hide();
|
|
1534
1534
|
$('#tab_'+id).removeClass('active').addClass('inactive');
|
|
@@ -1541,12 +1541,12 @@ window.PageManager = class PageManager {
|
|
|
1541
1541
|
return result;
|
|
1542
1542
|
}
|
|
1543
1543
|
|
|
1544
|
-
click(id, args) {
|
|
1544
|
+
click(id, args, anchor) {
|
|
1545
1545
|
// exit current page and enter specified page
|
|
1546
1546
|
Debug.trace('page', "Switching pages to: " + id);
|
|
1547
1547
|
var old_id = this.current_page_id;
|
|
1548
1548
|
if (this.current_page_id) {
|
|
1549
|
-
var result = this.deactivate( this.current_page_id, id );
|
|
1549
|
+
var result = this.deactivate( this.current_page_id, id, anchor );
|
|
1550
1550
|
if (!result) return false; // current page said no
|
|
1551
1551
|
}
|
|
1552
1552
|
this.current_page_id = id;
|
|
@@ -1711,7 +1711,7 @@ var Nav = {
|
|
|
1711
1711
|
// app.hideMessage();
|
|
1712
1712
|
app.pushSidebar();
|
|
1713
1713
|
|
|
1714
|
-
var result = app.page_manager.click( page_name, page_args );
|
|
1714
|
+
var result = app.page_manager.click( page_name, page_args, full_anchor );
|
|
1715
1715
|
if (result) {
|
|
1716
1716
|
this.old_loc = this.loc;
|
|
1717
1717
|
if (this.old_loc == 'init') this.old_loc = config.DefaultPage || 'Main';
|
package/js/popover.js
CHANGED
|
@@ -8,7 +8,7 @@ var Popover = {
|
|
|
8
8
|
attach: function(elem, html, shrinkwrap) {
|
|
9
9
|
if (this.enabled) this.detach();
|
|
10
10
|
var $elem = $(elem);
|
|
11
|
-
var rect = this.isSafari ? this.getBoundingClientRect($elem[0]) : $elem[0].getBoundingClientRect();
|
|
11
|
+
var rect = (this.isSafari && !Dialog.active) ? this.getBoundingClientRect($elem[0]) : $elem[0].getBoundingClientRect();
|
|
12
12
|
var win = get_inner_window_size();
|
|
13
13
|
|
|
14
14
|
var $box = $('<div class="arrow_box"></div>').html(html).css({
|
package/package.json
CHANGED