safeMarkNeedsPaint method
void
safeMarkNeedsPaint()
Implementation
void safeMarkNeedsPaint() {
if (!attached) {
//Should not paint if it was unattached.
return;
}
markNeedsPaint();
}
void safeMarkNeedsPaint() {
if (!attached) {
//Should not paint if it was unattached.
return;
}
markNeedsPaint();
}