-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roi time series select colour change #402
base: develop-main
Are you sure you want to change the base?
Conversation
c0e88cc
to
0c36dda
Compare
0c36dda
to
2154498
Compare
0512367
to
149e5fc
Compare
@@ -290,6 +291,14 @@ const LegendSelect: FC = () => { | |||
drawOrderList: newDrawOrderList, | |||
}), | |||
) | |||
dispatch( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Behavior before Edit Roi is started
- Flou selected before start of Edit Roi is not released after start of Edit Roi.
-> The selection of ROI in Edit Roi and the selection of Flou do not match.
-> When Flou is selected in this state, the ROI selection is canceled, which seems to be a reversed operation.
- Flou selected before start of Edit Roi is not released after start of Edit Roi.
@@ -290,6 +291,14 @@ const LegendSelect: FC = () => { | |||
drawOrderList: newDrawOrderList, | |||
}), | |||
) | |||
dispatch( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Bug
- React error when Add Roi -> Commit -> Select the added ROI?
…eSeriesSelectColourChange
…eSeriesSelectColourChange
…eSeriesSelectColourChange
97348be
to
de83bea
Compare
…eSeriesSelectColourChange
…meSeriesSelectColourChange
selectedStatus || { | ||
temp_add_roi: [], | ||
temp_delete_roi: [], | ||
temp_merge_roi: [], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When merging or deleting, all the ROIs turn orange or purple before selection. Actually, when turning on Merge, the ROI should have their normal colour, then only after selection to turn orange or purple.
temp_add_roi: [], | ||
temp_delete_roi: [], | ||
temp_merge_roi: [], | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When ROI are selected for merge, they change to purple. But after you click OK, the special Edit colour-change disappears and the ROI have their normal colours again. The two merged ROI should have the special colour until after Commit Edit.
Issue 359とOptinist repo Issue 602の解決です。
ROI が選択されると色が白に変わり、Fluorescence plotがリンクされていればtime seriesがプロットされます。
Legend ROI が選択されると ROI は白くなります。
ROI を選択解除にするとtime seriesは消えます。Legend ROIを選択解除すると ROI は通常の色に戻ります。
既存の temp_merge_roi フレームワークと同様に temp_selected_roi を使用することで実現。
When ROI are selected, they change colour to white, and if fluorescence window is linked time-series is plotted.
When the legend ROI is selected the ROI turns white.
When ROI unselected the time series disappears. When the legend is unselected the ROI returns to normal colour.
Achieved through using a temp_selected_roi, similar to the existing temp_merge_roi framework.