@yuneta/gobj-ui 7.23.98 → 7.23.99
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/dist/gobj-ui.cjs.js +1 -1
- package/dist/gobj-ui.es.js +1 -1
- package/package.json +1 -1
- package/src/c_yui_treedb_graph.js +10 -1
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -63578,7 +63578,7 @@ function refresh_legend(gobj) {
|
|
|
63578
63578
|
},
|
|
63579
63579
|
[[
|
|
63580
63580
|
"span",
|
|
63581
|
-
{ style:
|
|
63581
|
+
{ style: LEGEND_GLYPH_STYLE },
|
|
63582
63582
|
"★"
|
|
63583
63583
|
]],
|
|
63584
63584
|
{ click: (evt) => {
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -63573,7 +63573,7 @@ function refresh_legend(gobj) {
|
|
|
63573
63573
|
},
|
|
63574
63574
|
[[
|
|
63575
63575
|
"span",
|
|
63576
|
-
{ style:
|
|
63576
|
+
{ style: LEGEND_GLYPH_STYLE },
|
|
63577
63577
|
"★"
|
|
63578
63578
|
]],
|
|
63579
63579
|
{ click: (evt) => {
|
package/package.json
CHANGED
|
@@ -2638,7 +2638,16 @@ function refresh_legend(gobj)
|
|
|
2638
2638
|
'aria-label': t('main topic'),
|
|
2639
2639
|
'data-i18n-aria-label': 'main topic',
|
|
2640
2640
|
'aria-pressed': 'true'},
|
|
2641
|
-
|
|
2641
|
+
/* `LEGEND_GLYPH_STYLE` and not the gold one:
|
|
2642
|
+
* `pressed_state` inverts the ground, and an
|
|
2643
|
+
* INLINE colour beats the ink it sets with it.
|
|
2644
|
+
* The gold then sat on the scheme's own text
|
|
2645
|
+
* colour -- 1.06:1 in dark, ~2:1 in light --
|
|
2646
|
+
* so the one star the reader CHOSE was the one
|
|
2647
|
+
* that could not be seen. `color: inherit`
|
|
2648
|
+
* takes the pressed ink, like the crosshair
|
|
2649
|
+
* and the `+N` beside it. */
|
|
2650
|
+
[['span', {style: LEGEND_GLYPH_STYLE}, '★']], {
|
|
2642
2651
|
click: (evt) => {
|
|
2643
2652
|
evt.stopPropagation();
|
|
2644
2653
|
gobj_send_event(gobj, "EV_LEGEND_TOPIC",
|