Skip to content

Commit

Permalink
Make fill and magic wand default to unlimited size
Browse files Browse the repository at this point in the history
Since the last commit optimized that case and spills are no longer an
issue due to the ability to preview. Selections also provide a better
kind of size limiter than the size limit rectangle did. To make even
existing users default to unlimited size, the setting key changed from
"size" to "limit".
  • Loading branch information
askmeaboutlo0m committed Oct 31, 2024
1 parent 4aaf6a4 commit 9509f03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/desktop/toolwidgets/fillsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static const ToolProperties::RangedValue<int> expand{
blendMode{
QStringLiteral("blendMode"), DP_BLEND_MODE_NORMAL, 0,
DP_BLEND_MODE_MAX},
size{QStringLiteral("size"), 500, 10, 5000},
size{QStringLiteral("limit"), 5000, 10, 5000},
opacity{QStringLiteral("opacity"), 100, 1, 100},
gap{QStringLiteral("gap"), 0, 0, 32},
source{QStringLiteral("source"), 2, 0, 3},
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/toolwidgets/selectionsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static const ToolProperties::Value<bool> antialias{
static const ToolProperties::RangedValue<int> expand{
QStringLiteral("expand"), 0, 0, 100},
featherRadius{QStringLiteral("featherRadius"), 0, 0, 40},
size{QStringLiteral("size"), 5000, 10, 5000},
size{QStringLiteral("limit"), 5000, 10, 5000},
opacity{QStringLiteral("opacity"), 100, 1, 100},
gap{QStringLiteral("gap"), 0, 0, 32},
source{QStringLiteral("source"), 2, 0, 2},
Expand Down

0 comments on commit 9509f03

Please sign in to comment.