Gui: cache color bar width to avoid to compute it for every resize of the canvas
This commit is contained in:
@@ -108,6 +108,8 @@ void SoFCColorGradient::setMarkerLabel(const SoMFString& label)
|
||||
labels->addChild(text2);
|
||||
}
|
||||
}
|
||||
|
||||
setModified();
|
||||
}
|
||||
|
||||
void SoFCColorGradient::setViewportSize(const SbVec2s& size)
|
||||
|
||||
Reference in New Issue
Block a user