Skip to content

Commit 3389870

Browse files
author
Lijun Zhang
committed
DM-7695: fixed the bug in StretchDropDownView.jsx
1 parent d5d7ab7 commit 3389870

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/firefly/js/visualize/ui/StretchDropDownView.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,12 @@ function stretchByType(pv,currRV,sType,min,max) {
9090
}
9191

9292

93-
93+
/*
94+
* LZ 9/21/16 DM-7695
95+
*/
9496
export function StretchDropDownView({plotView:pv}) {
9597
var enabled= pv ? true : false;
96-
var rv= primePlot(pv).plotState.getRangeValues();
98+
var rv= primePlot(pv).plotState.getPrimaryRangeValues();//getRangeValues();//LZ 9/21/16
9799
return (
98100
<SingleColumnMenu>
99101
<ToolbarButton text='Color stretch...'

0 commit comments

Comments
 (0)