Fixed lagging bug with rubber band selection rectangle in hex viewer
This commit is contained in:
@@ -421,6 +421,7 @@ namespace Bloom::Widgets
|
|||||||
auto hoveredItems = this->items(mousePosition);
|
auto hoveredItems = this->items(mousePosition);
|
||||||
|
|
||||||
if (this->rubberBandRectItem != nullptr && this->rubberBandInitPoint.has_value()) {
|
if (this->rubberBandRectItem != nullptr && this->rubberBandInitPoint.has_value()) {
|
||||||
|
this->update();
|
||||||
const auto oldRect = this->rubberBandRectItem->rect();
|
const auto oldRect = this->rubberBandRectItem->rect();
|
||||||
|
|
||||||
this->rubberBandRectItem->setRect(
|
this->rubberBandRectItem->setRect(
|
||||||
|
|||||||
Reference in New Issue
Block a user