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);
|
||||
|
||||
// Layout type
|
||||
LayoutType layoutType;
|
||||
LayoutType layoutType = LayoutType::Medium;
|
||||
|
||||
int width;
|
||||
int height;
|
||||
bool ready;
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
bool ready = false;
|
||||
|
||||
// Scrolling data
|
||||
int scroll_base_x;
|
||||
int scroll_base_y;
|
||||
bool scroll_mode;
|
||||
int scroll_base_x = 0;
|
||||
int scroll_base_y = 0;
|
||||
bool scroll_mode = false;
|
||||
|
||||
|
||||
// Todo: remove charheight/charwidth cause it should be handled in child class
|
||||
|
Loading…
Reference in New Issue
Block a user