mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
#4892 - Follow-up of 30481e1ea8
-> Fixed behavior of imgui dialog for settings of 3DConnexion devices (CTRL+M) on Windows
This commit is contained in:
parent
8af25f7771
commit
944e760722
3 changed files with 238 additions and 51 deletions
|
@ -33,12 +33,12 @@ class Mouse3DController
|
|||
struct Params
|
||||
{
|
||||
static constexpr double DefaultTranslationScale = 2.5;
|
||||
static constexpr double MaxTranslationDeadzone = 0.0;
|
||||
static constexpr double DefaultTranslationDeadzone = 0.5 * MaxTranslationDeadzone;
|
||||
static constexpr float DefaultRotationScale = 1.0f;
|
||||
static constexpr float MaxRotationDeadzone = 0.0f;
|
||||
static constexpr float DefaultRotationDeadzone = 0.5f * MaxRotationDeadzone;
|
||||
static constexpr double DefaultZoomScale = 0.1;
|
||||
static constexpr double MaxTranslationDeadzone = 0.2;
|
||||
static constexpr double DefaultTranslationDeadzone = 0.0;
|
||||
static constexpr float DefaultRotationScale = 1.0f;
|
||||
static constexpr float MaxRotationDeadzone = 0.2f;
|
||||
static constexpr float DefaultRotationDeadzone = 0.0f;
|
||||
static constexpr double DefaultZoomScale = 0.1;
|
||||
|
||||
template <typename Number>
|
||||
struct CustomParameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue