Skip to content

Commit

Permalink
Disable construct highlight if read-only (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDTill authored Dec 1, 2024
1 parent 44339bf commit 08842fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typeset_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ void View::drawModel(double xL, double yT, double xR, double yB) {
const Typeset::Marker& cursor = getController().active;

model->paint(painter, xL, yT, xR, yB);
model->paintGroupings(painter, cursor);
if(allow_write) model->paintGroupings(painter, cursor);
controller.paintSelection(painter, xL, yT, xR, yB);
if(display_commas_in_numbers) model->paintNumberCommas(painter, xL, yT, xR, yB, controller.selection());
if(show_cursor){
Expand Down

0 comments on commit 08842fc

Please sign in to comment.