mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 23:00:45 +01:00
[apps] In curve view, avoid to reload the whole view when reloading
cursor Change-Id: Ie8c0e100159201cc6b11122eeb567c68092a7b06
This commit is contained in:
@@ -20,6 +20,7 @@ int BannerView::numberOfSubviews() const {
|
||||
}
|
||||
|
||||
void BannerView::layoutSubviews() {
|
||||
markRectAsDirty(bounds());
|
||||
/* We iterate on subviews, adding their width until we exceed the view bound.
|
||||
* The last subview that exceeds the bound is recorded as the first subview of
|
||||
* the next line. For the current line, we scan again the subviews and frame
|
||||
|
||||
Reference in New Issue
Block a user