diff --git a/xwords4/common/boarddrw.c b/xwords4/common/boarddrw.c index 5a8ab4114..4f9da3b0d 100644 --- a/xwords4/common/boarddrw.c +++ b/xwords4/common/boarddrw.c @@ -168,7 +168,9 @@ figureHintAtts( BoardCtxt* board, XP_U16 col, XP_U16 row ) HintAtts result = HINT_BORDER_NONE; /* while lets us break to exit... */ - while ( board->trayVisState == TRAY_REVEALED && board->gi->allowHintRect ) { + while ( board->trayVisState == TRAY_REVEALED + && !board->gi->hintsNotAllowed + && board->gi->allowHintRect ) { BdHintLimits limits; if ( dragDropGetHintLimits( board, &limits ) ) { /* do nothing */ diff --git a/xwords4/common/dragdrpp.c b/xwords4/common/dragdrpp.c index fb2f4cacb..862ea58b1 100644 --- a/xwords4/common/dragdrpp.c +++ b/xwords4/common/dragdrpp.c @@ -87,7 +87,8 @@ ddStartBoard( BoardCtxt* board, XP_U16 xx, XP_U16 yy ) XP_Bool canScroll = board->lastVisibleRow < model_numRows(board->model); if ( 0 ) { #ifdef XWFEATURE_SEARCHLIMIT - } else if ( board->gi->allowHintRect && trayVisible ) { + } else if ( !board->gi->hintsNotAllowed && board->gi->allowHintRect + && trayVisible ) { if ( !util_altKeyDown(board->util) ) { ds->dtype = DT_HINTRGN; } else if ( canScroll ) {