projects
/
platform
/
core
/
uifw
/
aurum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b2e08
)
AurumXML: fix strict weak ordering.
00/308100/1
accepted/tizen/unified/20240319.141032
accepted/tizen/unified/20240319.154828
accepted/tizen/unified/x/20240320.133023
author
Hosang Kim
<hosang12.kim@samsung.com>
Mon, 18 Mar 2024 04:43:17 +0000
(13:43 +0900)
committer
Hosang Kim
<hosang12.kim@samsung.com>
Mon, 18 Mar 2024 04:43:17 +0000
(13:43 +0900)
Change-Id: I444ac7f512abfbef2340f132d83964ac236ed903
libaurum/src/AurumXML.cc
patch
|
blob
|
history
diff --git
a/libaurum/src/AurumXML.cc
b/libaurum/src/AurumXML.cc
index
6974d59
..
b416bb2
100644
(file)
--- a/
libaurum/src/AurumXML.cc
+++ b/
libaurum/src/AurumXML.cc
@@
-77,7
+77,7
@@
void AurumXML::traverse(xml_node& element, const std::shared_ptr<AccessibleNode>
if (aRect.mTopLeft.x != bRect.mTopLeft.x) return aRect.mTopLeft.x < bRect.mTopLeft.x;
if (aRect.mTopLeft.y != bRect.mTopLeft.y) return aRect.mTopLeft.y < bRect.mTopLeft.y;
- else return aRect.width() * aRect.height() <
=
bRect.width() * bRect.height();
+ else return aRect.width() * aRect.height() < bRect.width() * bRect.height();
});
for (const auto &child : children)