@trdrs/quickcharts 5.7.0 → 5.7.1
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/CHANGELOG.md +4 -0
- package/dist/feature-manifest.json +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 5.7.1
|
|
6
|
+
|
|
7
|
+
A press of the pointer on the price scale's corner button leaves the keyboard focus where it stands, so a key pressed afterwards draws no focus ring on the button. The keyboard reaches it and rings it as before.
|
|
8
|
+
|
|
5
9
|
## 5.7.0
|
|
6
10
|
|
|
7
11
|
A button in the corner where the price scale meets the time scale opens the scale's menu: reset the scale, its framing, the price-to-bar ratio lock, the four modes, the other side, flyouts for its labels and lines, the plus, and the Scales page of the settings. `priceScale.scalePriceChartOnly` frames the scale on the main series alone and `priceScale.invertScale` stands it upside down. `Alt+P`, `Alt+L` and `Alt+I` turn the percent mode, the logarithmic mode and the inverted scale on and off, and `chart.scale.toggleAuto`, `chart.scale.toggleInvert`, `chart.scale.togglePercent` and `chart.scale.toggleLog` are commands of their own. `chart.view.goLive` moves to `Alt+Shift+Right`, since `Alt+L` is the logarithmic scale's key now.
|
package/dist/index.js
CHANGED
|
@@ -20621,6 +20621,7 @@ function mountScaleControls(deps) {
|
|
|
20621
20621
|
const corner = scaleDoor ? h("button", { type: "button", class: "qc-scale-corner", "data-role": "scale-corner", "aria-haspopup": "menu", "aria-expanded": "false" }, deps.icons.glyph(ICONS.scaleCorner, { size: 15, height: 13 })) : null;
|
|
20622
20622
|
if (corner && scaleDoor) {
|
|
20623
20623
|
stopPointer(corner);
|
|
20624
|
+
corner.addEventListener("mousedown", (event) => event.preventDefault());
|
|
20624
20625
|
const expanded = (open2) => corner.setAttribute("aria-expanded", String(open2 === true));
|
|
20625
20626
|
corner.addEventListener("click", (event) => {
|
|
20626
20627
|
const place = corner.getBoundingClientRect();
|