Skip to content

Commit b9493e2

Browse files
committed
fix lower-limit in hint text
1 parent df1de4c commit b9493e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lcviz/plugins/ephemeris/ephemeris.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def create_phase_viewer(self):
268268

269269
pv = self.app.get_viewer(phase_viewer_id)
270270
if create_phase_viewer:
271-
pv.state.x_min, pv.state.x_max = (1-self.wrap_at, self.wrap_at)
271+
pv.state.x_min, pv.state.x_max = (self.wrap_at-1, self.wrap_at)
272272
pv.state.x_att = self.phase_cids[self.component_selected]
273273
return pv
274274

lcviz/plugins/ephemeris/ephemeris.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
module.exports = {
155155
computed: {
156156
wrap_at_range() {
157-
const lower = 1-this.wrap_at
157+
const lower = this.wrap_at - 1
158158
return '('+lower.toFixed(2)+', '+this.wrap_at.toFixed(2)+')'
159159
},
160160
}

0 commit comments

Comments
 (0)