Clear filename if re-shown. Fixes #127

This commit is contained in:
Joshua Bell 2019-02-12 21:01:38 -08:00
parent f7df942236
commit ca8c351d32
2 changed files with 3 additions and 4 deletions

View File

@ -14521,8 +14521,6 @@ draw: copy16 #str_insertion_point+1, textptr
;;; ============================================================
.proc draw_filename_prompt
lda path_buf1
beq done
lda winfo_alert_dialog
jsr set_port_from_window_id
jsr set_fill_white

View File

@ -475,8 +475,9 @@ fontptr: .addr DEFAULT_FONT
nextwinfo: .addr 0
.endproc
;; Coordinates for labels?
.byte $28,$00,$25,$00,$68,$01,$2F,$00,$2D,$00,$2E,$00
;; Unused rect/pos?
.word 40,37,360,47
.word 45,46
name_input_rect: DEFINE_RECT 40,61+6,360,71+6, name_input_rect
name_input_textpos: DEFINE_POINT 45,70+6, name_input_textpos