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