Use threadSafeBounds instead of bounds to create drawing parameters

This commit is contained in:
Michael Schneider
2016-06-20 15:21:52 -07:00
parent e7f2edd183
commit 74b9b6b49e
2 changed files with 2 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ struct ASImageNodeDrawParameters {
ASDN::MutexLocker l(_imageLock);
_drawParameter = {
.bounds = self.bounds,
.bounds = self.threadSafeBounds,
.opaque = self.opaque,
.contentsScale = _contentsScaleForDisplay,
.backgroundColor = self.backgroundColor,

View File

@@ -441,7 +441,7 @@ static NSArray *DefaultLinkAttributeNames = @[ NSLinkAttributeName ];
_drawParameter = {
.backgroundColor = self.backgroundColor,
.bounds = self.bounds
.bounds = self.threadSafeBounds
};
}