[orca/gnome-3-34] Prevent repetition of lines during SayAll for web content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-34] Prevent repetition of lines during SayAll for web content
- Date: Fri, 17 Jan 2020 15:43:49 +0000 (UTC)
commit 38f917c01a34e88da00deba18b51b0ff87d25740
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Fri Jan 17 10:40:11 2020 -0500
Prevent repetition of lines during SayAll for web content
src/orca/scripts/web/script.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index 4b0ed02fb..0205e0a9a 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -596,6 +596,9 @@ class Script(default.Script):
continue
obj, startOffset, endOffset, text = content
+ if startOffset == endOffset:
+ continue
+
if self.utilities.isLabellingContents(obj):
continue
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]