Skip to content

Commit

Permalink
dynamic column width fix Tucsky#359
Browse files Browse the repository at this point in the history
  • Loading branch information
Tucsky committed Sep 5, 2023
1 parent 4b673b2 commit cd32724
Show file tree
Hide file tree
Showing 8 changed files with 141 additions and 124 deletions.
2 changes: 1 addition & 1 deletion scripts/svg2font.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ svgtofont({
const baseIconScss = fs.readFileSync(
__dirname + '/../src/assets/fonts/icon.scss',
'utf-8'
).replace()
)

const iconVariablesScss = baseIconScss.slice(
baseIconScss.indexOf('$'),
Expand Down
8 changes: 4 additions & 4 deletions src/assets/sass/pane.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,16 @@
}

&--selected {
animation: pulse-white 2s;
}
animation: pulse 1s $ease-out-expo;
}

@keyframes pulse-white {
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 var(--theme-buy-base);
}

100% {
box-shadow: 0 0 0 1rem rgba(255, 255, 255, 0);
box-shadow: 0 0 0 0.5rem rgba(255, 255, 255, 0);
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/components/chart/IndicatorLibraryDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ export default {
},
data: () => ({
name: '',
priceScaleId: 'right',
query: '',
indicators: [],
selectedIndicator: null,
Expand Down Expand Up @@ -392,7 +391,7 @@ export default {
if (!indicator.priceScaleId) {
const slug = slugify(indicator.name)
indicator.priceScaleId = this.priceScaleId || slug
indicator.priceScaleId = slug
}
this.$store.dispatch(this.paneId + '/addIndicator', indicator)
Expand Down
1 change: 1 addition & 0 deletions src/components/chart/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const defaultSerieOptions = {
crosshairMarkerVisible: false,
lastValueVisible: false,
priceLineVisible: false,
baseLineVisible: false,
priceFormat: {
type: 'price',
minMove: '0.01',
Expand Down
Loading

0 comments on commit cd32724

Please sign in to comment.