More fixes for Code/Editor

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-13 16:05:20 -07:00
parent 1d4c53a777
commit 5f7b534afd
66 changed files with 185 additions and 202 deletions
+2 -2
View File
@@ -455,7 +455,7 @@ void CTrackViewSequence::OnNodeChanged(CTrackViewNode* node, ITrackViewSequenceL
// Make sure to deselect any keys
CTrackViewKeyBundle keys = node->GetAllKeys();
for (int key = 0; key < keys.GetKeyCount(); key++)
for (unsigned int key = 0; key < keys.GetKeyCount(); key++)
{
CTrackViewKeyHandle keyHandle = keys.GetKey(key);
if (keyHandle.IsSelected())
@@ -1249,7 +1249,7 @@ void CTrackViewSequence::DeselectAllKeys()
CTrackViewSequenceNotificationContext context(this);
CTrackViewKeyBundle selectedKeys = GetSelectedKeys();
for (int i = 0; i < selectedKeys.GetKeyCount(); ++i)
for (unsigned int i = 0; i < selectedKeys.GetKeyCount(); ++i)
{
CTrackViewKeyHandle keyHandle = selectedKeys.GetKey(i);
keyHandle.Select(false);