2
0
forked from Ivasoft/DSView

fix: dso view can't update

This commit is contained in:
dreamsourcelabTAI
2022-05-26 14:53:52 +08:00
parent 566648a43e
commit b12fdce779

View File

@@ -826,13 +826,12 @@ void DsoSignal::paint_mid(QPainter &p, int left, int right, QColor fore, QColor
(void)fore;
(void)back;
if (!_show || right >= left){
if (!_show || right <= left){
return;
}
assert(_data);
assert(_view);
//assert(right >= left);
assert(_view);
if (enabled()) {
const int index = get_index();