Skip to content

Commit

Permalink
Merge pull request #146 from joehalliwell/patch-1
Browse files Browse the repository at this point in the history
Remove print() calls from text_2d.py
  • Loading branch information
einarf authored Nov 14, 2021
2 parents f0241fe + b5354ad commit b631949
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions moderngl_window/text/bitmapped/text_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def text(self) -> str:

@text.setter
def text(self, value: str):
print(len(value))
self._text = value
self._string_buffer.orphan(size=len(value) * 4)
self._string_buffer.clear(chunk=b'\32')
Expand All @@ -65,7 +64,6 @@ def text(self, value: str):
def _write(self, text: str):
self._string_buffer.clear(chunk=b'\32')

print(self._string_buffer.size)
self._string_buffer.write(
numpy.fromiter(
self._translate_string(text),
Expand Down

0 comments on commit b631949

Please sign in to comment.