mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 03:16:10 +00:00
Fix initialization of some attrs in GraphView
This commit is contained in:
parent
a076b2ef7b
commit
2d98943c13
@ -136,16 +136,16 @@ private:
|
|||||||
void adjustGraphLayout(GraphBlock &block, int col, int row);
|
void adjustGraphLayout(GraphBlock &block, int col, int row);
|
||||||
|
|
||||||
// Layout type
|
// Layout type
|
||||||
LayoutType layoutType;
|
LayoutType layoutType = LayoutType::Medium;
|
||||||
|
|
||||||
int width;
|
int width = 0;
|
||||||
int height;
|
int height = 0;
|
||||||
bool ready;
|
bool ready = false;
|
||||||
|
|
||||||
// Scrolling data
|
// Scrolling data
|
||||||
int scroll_base_x;
|
int scroll_base_x = 0;
|
||||||
int scroll_base_y;
|
int scroll_base_y = 0;
|
||||||
bool scroll_mode;
|
bool scroll_mode = false;
|
||||||
|
|
||||||
|
|
||||||
// Todo: remove charheight/charwidth cause it should be handled in child class
|
// Todo: remove charheight/charwidth cause it should be handled in child class
|
||||||
|
Loading…
Reference in New Issue
Block a user