1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-08 18:25:13 +00:00

Fixes screen resize render after PRINT->_PRINTSTRING update.

This commit is contained in:
Fellippe Heitor 2021-01-26 20:14:22 -03:00
parent 0ea8a23fb1
commit c0ce8d40b5

View file

@ -770,6 +770,7 @@ FUNCTION ide2 (ignore)
_PALETTECOLOR 13, IDETextColor, 0 _PALETTECOLOR 13, IDETextColor, 0
_PALETTECOLOR 14, IDEQuoteColor, 0 _PALETTECOLOR 14, IDEQuoteColor, 0
SCREEN , , 3, 0
'static background 'static background
COLOR 0, 7 COLOR 0, 7
_PRINTSTRING (1, 1), SPACE$(idewx) _PRINTSTRING (1, 1), SPACE$(idewx)
@ -800,8 +801,10 @@ FUNCTION ide2 (ignore)
ideshowtext ideshowtext
END IF END IF
PCOPY 3, 0
_DISPLAY _DISPLAY
_LIMIT 30 _LIMIT 15
LOOP WHILE _RESIZE LOOP WHILE _RESIZE
IF retval = 1 THEN 'screen dimensions have changed and everything must be redrawn/reapplied IF retval = 1 THEN 'screen dimensions have changed and everything must be redrawn/reapplied