Commit cd45a874 authored by Michael Abrahams's avatar Michael Abrahams

Set rotation precision for transform tool to 2 decimals

Exact snapping is supported by shift+drag. Now more precise values can
be entered manually.

BUG: 363848
parent 1f9f0cde
......@@ -128,12 +128,15 @@ KisToolTransformConfigWidget::KisToolTransformConfigWidget(TransformTransactionP
aXBox->setSuffix(QChar(Qt::Key_degree));
aYBox->setSuffix(QChar(Qt::Key_degree));
aZBox->setSuffix(QChar(Qt::Key_degree));
aXBox->setRange(0.0, 360.0, 0);
aYBox->setRange(0.0, 360.0, 0);
aZBox->setRange(0.0, 360.0, 0);
aXBox->setRange(0.0, 360.0, 2);
aYBox->setRange(0.0, 360.0, 2);
aZBox->setRange(0.0, 360.0, 2);
aXBox->setValue(0.0);
aYBox->setValue(0.0);
aZBox->setValue(0.0);
aXBox->setSingleStep(1.0);
aYBox->setSingleStep(1.0);
aZBox->setSingleStep(1.0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment