Skip to content

Commit

Permalink
Merge pull request #139 from jemu75/dev-v4
Browse files Browse the repository at this point in the history
v4.6.1
  • Loading branch information
jemu75 authored Dec 27, 2024
2 parents 7df422f + 38e3254 commit 69c0fac
Show file tree
Hide file tree
Showing 13 changed files with 265 additions and 253 deletions.
190 changes: 95 additions & 95 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion public/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# v.4.6.0 (21.12.2024)
# v4.6.1 (27.12.2024)
## Slider
- Bugfix for setting Height of vertical slider
# v4.6.0 (21.12.2024)
## Panel
- new panel element popout
- bugfix position of vertical divider
Expand Down
17 changes: 12 additions & 5 deletions src/components/PanelMainSlider.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup>
import { computed, ref } from 'vue'
import { useFhemStore } from '@/stores/fhem'
import { number } from 'echarts'
const props = defineProps({
el: Object,
Expand All @@ -11,12 +12,18 @@
const fhem = useFhemStore()
const sliderHeight = ref(props.height + (/px/.test(props.height) ? '' : 'px'))
console.log(props.height)
const sliderHeight = ref(getSliderHeight(props.height))
const sliderVal = ref()
function getSliderHeight(val) {
let res = val
res = (parseInt(val) - 40) + 'px'
return res
}
function setSliderVal(val) {
sliderVal.value = val
}
Expand Down Expand Up @@ -73,8 +80,8 @@
</v-slider>
</template>

<style>
<style>
.v-slider.v-input--vertical > .v-input__control {
min-height: v-bind(sliderHeight)
min-height: v-bind(sliderHeight) !important;
}
</style>
4 changes: 3 additions & 1 deletion www/fhemapp4/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# v.4.6.0 (21.12.2024)
# v4.6.1 (27.12.2024)
- Bugfix for setting Height of vertical slider
# v4.6.0 (21.12.2024)
## Panel
- new panel element popout
- bugfix position of vertical divider
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions www/fhemapp4/assets/index-6UYztuQP.css

This file was deleted.

129 changes: 129 additions & 0 deletions www/fhemapp4/assets/index-BxJ7WhdU.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions www/fhemapp4/assets/index-EXc9iyGR.css

Large diffs are not rendered by default.

129 changes: 0 additions & 129 deletions www/fhemapp4/assets/index-YieHNHpx.js

This file was deleted.

Loading

0 comments on commit 69c0fac

Please sign in to comment.