Fix min brush size when using scroll wheel (#2534) (#2693)

This commit is contained in:
Noisyfox 2023-11-11 15:15:57 +08:00 committed by GitHub
parent 714667ee1c
commit 4e5e5a7ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,8 @@ protected:
std::string get_action_snapshot_name() override { return "Paint-on seam editing"; } std::string get_action_snapshot_name() override { return "Paint-on seam editing"; }
static const constexpr float CursorRadiusMin = 0.05f; // cannot be zero static const constexpr float CursorRadiusMin = 0.05f; // cannot be zero
const float get_cursor_radius_min() const override { return CursorRadiusMin; }
private: private:
bool on_init() override; bool on_init() override;