From 7216528120131567342314375161770083589864 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 25 Jun 2024 21:18:45 -0400 Subject: Add FlowGraphWidget::getScale() --- ui/flowgraphwidget.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/flowgraphwidget.h b/ui/flowgraphwidget.h index c267a1d0..3ed2886e 100644 --- a/ui/flowgraphwidget.h +++ b/ui/flowgraphwidget.h @@ -249,6 +249,7 @@ class BINARYNINJAUIAPI FlowGraphWidget : virtual void setRelatedIndexHighlights(FunctionRef func, const std::set& related) override; virtual void setRelatedInstructionHighlights(FunctionRef func, const std::set& related) override; + float getScale() const { return m_scale; } float maxScale() const; virtual void zoom(bool direction); virtual void zoomToScale(float scale = 1.0f); -- cgit v1.3.1