mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Fix Graph refresh
This commit is contained in:
parent
b27cd39ddc
commit
3c27c62b2d
@ -741,7 +741,6 @@ void GraphView::showBlock(GraphBlock *block, bool animated)
|
||||
target_y = std::min(verticalScrollBar()->maximum(), target_y);
|
||||
if (animated) {
|
||||
QPropertyAnimation *animation_x = new QPropertyAnimation(horizontalScrollBar(), "value", this);
|
||||
animation_x->deleteLater();
|
||||
animation_x->setDuration(500);
|
||||
animation_x->setStartValue(horizontalScrollBar()->value());
|
||||
animation_x->setEndValue(target_x);
|
||||
|
Loading…
Reference in New Issue
Block a user