Don't show checkbox-form track for labeled checkbox
This commit is contained in:
Ilya Kirillov
2025-11-05 19:54:20 +03:00
parent 55d3eca005
commit 654d5ad447

View File

@ -1313,7 +1313,8 @@ CInlineLevelSdt.prototype.DrawContentControlsTrack = function(nType, X, Y, nCurP
let oMainForm;
if (this.IsForm() && (oMainForm = this.GetMainForm()) && oMainForm !== this)
{
if (oMainForm.IsLabeledCheckBox())
let parent = this.GetParent();
if ((parent instanceof AscWord.CInlineLevelSdt) && parent.IsLabeledCheckBox())
return false;
if (AscCommon.ContentControlTrack.Hover === nType)