@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.
@@ -63578,7 +63578,7 @@ function refresh_legend(gobj) {
63578
63578
  },
63579
63579
  [[
63580
63580
  "span",
63581
- { style: LEGEND_STAR_MAIN_STYLE },
63581
+ { style: LEGEND_GLYPH_STYLE },
63582
63582
  "★"
63583
63583
  ]],
63584
63584
  { click: (evt) => {
@@ -63573,7 +63573,7 @@ function refresh_legend(gobj) {
63573
63573
  },
63574
63574
  [[
63575
63575
  "span",
63576
- { style: LEGEND_STAR_MAIN_STYLE },
63576
+ { style: LEGEND_GLYPH_STYLE },
63577
63577
  "★"
63578
63578
  ]],
63579
63579
  { click: (evt) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuneta/gobj-ui",
3
- "version": "7.23.98",
3
+ "version": "7.23.99",
4
4
  "type": "module",
5
5
  "main": "dist/gobj-ui.cjs.js",
6
6
  "module": "dist/gobj-ui.es.js",
@@ -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
- [['span', {style: LEGEND_STAR_MAIN_STYLE}, '★']], {
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",