Skip to content

Commit

Permalink
Break too long line before 'OnMouseUpSetBoolean'
Browse files Browse the repository at this point in the history
Also moving paragraph break to get correct association of preceding paragraph.
  • Loading branch information
henrikt-ma committed Nov 9, 2020
1 parent 8a27ed6 commit 1bb86d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -901,12 +901,12 @@ \subsubsection{Mouse input}\label{mouse-input}
Boolean value "Assigned value";
end OnMouseUpSetBoolean;
\end{lstlisting}
Note that several interaction objects can be associated with the same
graphical item or component.

Note that several interaction objects can be associated with the same graphical item or component.
\begin{example}
\begin{lstlisting}[language=modelica]
interaction = {OnMouseDownSetBoolean(on, true), OnMouseUpSetBoolean(on, false)};
interaction = {OnMouseDownSetBoolean(on, true),
OnMouseUpSetBoolean(on, false)};
\end{lstlisting}
\end{example}

Expand Down

0 comments on commit 1bb86d9

Please sign in to comment.