From c6401f044493eb6e04bc2eff05b356b69efad2fa Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 7 Feb 2023 22:28:18 -0500 Subject: [PATCH] Add TODO. --- Components/9918/Implementation/YamahaCommands.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Components/9918/Implementation/YamahaCommands.hpp b/Components/9918/Implementation/YamahaCommands.hpp index 3783f6c6d..142229966 100644 --- a/Components/9918/Implementation/YamahaCommands.hpp +++ b/Components/9918/Implementation/YamahaCommands.hpp @@ -242,6 +242,13 @@ template struct Rectangle: public Command { } start_x_[1] = context.destination.v[0]; width_ = context.size.v[0]; + + if(!width_) { + // TODO: this should mean 'maximal' width. + // (aside: it's still unclear to me whether commands are + // automatically clipped to the display; I think so but + // don't want to spend any time on it until I'm certain) + } } /// Advances the current destination and, if @c include_source is @c true also the source;