Update curr_char_phonetic.py
This commit is contained in:
parent
a0d82cd9dd
commit
0bea16359a
@ -18,10 +18,7 @@ class command():
|
|||||||
return 'phonetically presents the current character'
|
return 'phonetically presents the current character'
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if self.env['screenData']['newCursorReview']:
|
cursorPos = self.env['runtime']['cursorManager'].getReviewOrTextCursor()
|
||||||
cursorPos = self.env['screenData']['newCursorReview'].copy()
|
|
||||||
else:
|
|
||||||
cursorPos = self.env['screenData']['newCursor'].copy()
|
|
||||||
|
|
||||||
x, y, currChar = \
|
x, y, currChar = \
|
||||||
char_utils.getCurrentChar(cursorPos['x'], cursorPos['y'], self.env['screenData']['newContentText'])
|
char_utils.getCurrentChar(cursorPos['x'], cursorPos['y'], self.env['screenData']['newContentText'])
|
||||||
|
Loading…
Reference in New Issue
Block a user