mirror of
https://github.com/SimpleMobileTools/Simple-Draw.git
synced 2025-06-05 21:59:17 +02:00
fix #49, too thin line after repeated app launch
This commit is contained in:
@ -68,9 +68,9 @@ public class MainActivity extends SimpleActivity implements MyCanvas.PathsChange
|
|||||||
setBackgroundColor(mConfig.getBackgroundColor());
|
setBackgroundColor(mConfig.getBackgroundColor());
|
||||||
setColor(mConfig.getBrushColor());
|
setColor(mConfig.getBrushColor());
|
||||||
|
|
||||||
float savedStrokeWidth = mConfig.getStrokeWidth();
|
strokeWidth = mConfig.getStrokeWidth();
|
||||||
mMyCanvas.setStrokeWidth(savedStrokeWidth);
|
mMyCanvas.setStrokeWidth(strokeWidth);
|
||||||
mStrokeWidthBar.setProgress((int) savedStrokeWidth);
|
mStrokeWidthBar.setProgress((int) strokeWidth);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user