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)fore;
(void)back; (void)back;
if (!_show || right >= left){ if (!_show || right <= left){
return; return;
} }
assert(_data); assert(_data);
assert(_view); assert(_view);
//assert(right >= left);
if (enabled()) { if (enabled()) {
const int index = get_index(); const int index = get_index();