diff options
author | Gary Martin <gary@garycmartin.com> | 2009-04-10 14:04:19 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2009-04-10 14:04:19 (GMT) |
commit | 733d9304bef464b1444f481153cdc4e01e2c0800 (patch) | |
tree | 0cc003a4a41de7d2ca973b644f8a5bde281717ea /src/TextThought.py | |
parent | 8307b0c1f730496ad3f232d1f86cdfbbdc729269 (diff) |
Fix case where text overflows edge of thought border while typing.
Diffstat (limited to 'src/TextThought.py')
-rw-r--r-- | src/TextThought.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/TextThought.py b/src/TextThought.py index 90a5954..97a5f8d 100644 --- a/src/TextThought.py +++ b/src/TextThought.py @@ -328,12 +328,10 @@ class TextThought (ResizableThought): self.end_index = self.index def draw (self, context): + self.recalc_edges () ResizableThought.draw(self, context) - if self.creating: return - if not self.layout: - self.recalc_edges () (textx, texty) = (self.min_x, self.min_y) if self.am_primary: |