flutter: Change default boardTop from 28 to 36
This commit is contained in:
parent
242338b1fa
commit
73055291dc
|
@ -43,7 +43,7 @@ class Config {
|
|||
static bool isPieceCountInHandShown = false;
|
||||
static double boardBorderLineWidth = 2.0;
|
||||
static double boardInnerLineWidth = 2.0;
|
||||
static double boardTop = 28.0;
|
||||
static double boardTop = 36.0;
|
||||
|
||||
// Color
|
||||
static int boardLineColor = AppTheme.boardLineColor.value;
|
||||
|
@ -91,7 +91,7 @@ class Config {
|
|||
settings['IsPieceCountInHandShown'] ?? false;
|
||||
Config.boardBorderLineWidth = settings['BoardBorderLineWidth'] ?? 2;
|
||||
Config.boardInnerLineWidth = settings['BoardInnerLineWidth'] ?? 2;
|
||||
Config.boardTop = settings['BoardTop'] ?? 28;
|
||||
Config.boardTop = settings['BoardTop'] ?? 36;
|
||||
|
||||
// Color
|
||||
Config.boardLineColor =
|
||||
|
|
|
@ -176,7 +176,7 @@ class _PersonalizationSettingsPageState
|
|||
value: Config.boardTop.toDouble(),
|
||||
min: 0.0,
|
||||
max: 288.0,
|
||||
divisions: 10,
|
||||
divisions: 288,
|
||||
label: Config.boardTop.toStringAsFixed(1),
|
||||
onChanged: (value) {
|
||||
setState(() {
|
||||
|
|
Loading…
Reference in New Issue