Skip to content

Commit 7216528

Browse files
committed
Add FlowGraphWidget::getScale()
1 parent 4584151 commit 7216528

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/flowgraphwidget.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ class BINARYNINJAUIAPI FlowGraphWidget :
249249
virtual void setRelatedIndexHighlights(FunctionRef func, const std::set<size_t>& related) override;
250250
virtual void setRelatedInstructionHighlights(FunctionRef func, const std::set<uint64_t>& related) override;
251251

252+
float getScale() const { return m_scale; }
252253
float maxScale() const;
253254
virtual void zoom(bool direction);
254255
virtual void zoomToScale(float scale = 1.0f);

0 commit comments

Comments
 (0)