@opentui/core 0.0.0-20250915-f5db043a → 0.0.0-20250917-afb89399
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/3d.js +1 -1
- package/{index-6esrcarp.js → index-dgjbzqw3.js} +2 -14
- package/{index-6esrcarp.js.map → index-dgjbzqw3.js.map} +3 -3
- package/index.js +5 -13
- package/index.js.map +4 -4
- package/package.json +7 -7
- package/testing.js +1 -1
package/index.js
CHANGED
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
white,
|
|
122
122
|
wrapWithDelegates,
|
|
123
123
|
yellow
|
|
124
|
-
} from "./index-
|
|
124
|
+
} from "./index-dgjbzqw3.js";
|
|
125
125
|
// src/post/filters.ts
|
|
126
126
|
function applyScanlines(buffer, strength = 0.8, step = 2) {
|
|
127
127
|
const width = buffer.width;
|
|
@@ -3209,7 +3209,7 @@ class SliderRenderable extends Renderable {
|
|
|
3209
3209
|
const virtualThumbEnd = virtualThumbStart + virtualThumbSize;
|
|
3210
3210
|
buffer.fillRect(this.x, this.y, this.width, this.height, this._backgroundColor);
|
|
3211
3211
|
const realStartCell = Math.floor(virtualThumbStart / 2);
|
|
3212
|
-
const realEndCell = Math.
|
|
3212
|
+
const realEndCell = Math.ceil(virtualThumbEnd / 2) - 1;
|
|
3213
3213
|
const startX = Math.max(0, realStartCell);
|
|
3214
3214
|
const endX = Math.min(this.width - 1, realEndCell);
|
|
3215
3215
|
for (let realX = startX;realX <= endX; realX++) {
|
|
@@ -3240,7 +3240,7 @@ class SliderRenderable extends Renderable {
|
|
|
3240
3240
|
const virtualThumbEnd = virtualThumbStart + virtualThumbSize;
|
|
3241
3241
|
buffer.fillRect(this.x, this.y, this.width, this.height, this._backgroundColor);
|
|
3242
3242
|
const realStartCell = Math.floor(virtualThumbStart / 2);
|
|
3243
|
-
const realEndCell = Math.
|
|
3243
|
+
const realEndCell = Math.ceil(virtualThumbEnd / 2) - 1;
|
|
3244
3244
|
const startY = Math.max(0, realStartCell);
|
|
3245
3245
|
const endY = Math.min(this.height - 1, realEndCell);
|
|
3246
3246
|
for (let realY = startY;realY <= endY; realY++) {
|
|
@@ -3747,9 +3747,7 @@ class ScrollBoxRenderable extends BoxRenderable {
|
|
|
3747
3747
|
}) {
|
|
3748
3748
|
super(ctx, {
|
|
3749
3749
|
flexShrink: 1,
|
|
3750
|
-
flexGrow: 1,
|
|
3751
3750
|
flexDirection: "row",
|
|
3752
|
-
flexWrap: "wrap",
|
|
3753
3751
|
alignItems: "stretch",
|
|
3754
3752
|
...options,
|
|
3755
3753
|
...rootOptions
|
|
@@ -3761,9 +3759,6 @@ class ScrollBoxRenderable extends BoxRenderable {
|
|
|
3761
3759
|
flexDirection: "column",
|
|
3762
3760
|
flexGrow: 1,
|
|
3763
3761
|
flexShrink: 1,
|
|
3764
|
-
flexBasis: "auto",
|
|
3765
|
-
maxHeight: "100%",
|
|
3766
|
-
maxWidth: "100%",
|
|
3767
3762
|
...wrapperOptions,
|
|
3768
3763
|
id: `scroll-box-wrapper-${this.internalId}`
|
|
3769
3764
|
});
|
|
@@ -3772,10 +3767,7 @@ class ScrollBoxRenderable extends BoxRenderable {
|
|
|
3772
3767
|
flexDirection: "column",
|
|
3773
3768
|
flexGrow: 1,
|
|
3774
3769
|
flexShrink: 1,
|
|
3775
|
-
|
|
3776
|
-
maxHeight: "100%",
|
|
3777
|
-
maxWidth: "100%",
|
|
3778
|
-
overflow: "scroll",
|
|
3770
|
+
overflow: "hidden",
|
|
3779
3771
|
onSizeChange: () => {
|
|
3780
3772
|
this.recalculateBarProps();
|
|
3781
3773
|
},
|
|
@@ -4299,5 +4291,5 @@ export {
|
|
|
4299
4291
|
ASCIIFont
|
|
4300
4292
|
};
|
|
4301
4293
|
|
|
4302
|
-
//# debugId=
|
|
4294
|
+
//# debugId=C24A2E933E87A1F264756E2164756E21
|
|
4303
4295
|
//# sourceMappingURL=index.js.map
|