[TechDraw]Detail highlight drag (fix #21828) (#22036)

* [TD]add preferences for detail highlight snapping

* [TD]fix highlight drag issues

* Update src/Mod/TechDraw/Gui/TaskDetail.cpp

minor format change from benj5378.

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>

---------

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
This commit is contained in:
WandererFan
2025-06-23 12:13:27 -04:00
committed by GitHub
parent c25782551b
commit 51184b99d5
13 changed files with 230 additions and 125 deletions

View File

@@ -81,6 +81,8 @@ void DlgPrefsTechDrawGeneralImp::saveSettings()
ui->cb_alwaysShowLabel->onSave();
ui->cb_SnapViews->onSave();
ui->psb_SnapFactor->onSave();
ui->cb_SnapHighlights->onSave();
ui->psb_HighlightSnapFactor->onSave();
}
void DlgPrefsTechDrawGeneralImp::loadSettings()
@@ -129,6 +131,9 @@ void DlgPrefsTechDrawGeneralImp::loadSettings()
ui->cb_SnapViews->onRestore();
ui->psb_SnapFactor->onRestore();
ui->cb_SnapHighlights->onRestore();
ui->psb_HighlightSnapFactor->onRestore();
}
/**