Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniZinc/MiniZincIDE
/ setScale
Method
setScale
cp-profiler/src/cpprofiler/tree/tree_scroll_area.cpp:175–179 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
173
}
174
175
void TreeScrollArea::setScale(int val)
176
{
177
m_options.scale = val / 50.0f;
178
viewport()->update();
179
}
180
181
/// Make sure the layout for nodes is done
182
NodeID TreeScrollArea::findNodeClicked(int x, int y)
Callers
nothing calls this directly
Calls
1
update
Method · 0.45
Tested by
no test coverage detected