Store the cmapindex and use it to select the correct gradien in the adjust window

This commit is contained in:
ronaldhordijk
2005-09-25 08:10:09 +00:00
parent 3c5e316960
commit ea11c313df
9 changed files with 53 additions and 42 deletions

View File

@ -470,10 +470,8 @@ begin
MainForm.StopThread;
MainForm.UpdateUndo;
MainCp.cmap := Palette;
//gradientForm.UpdateGradient(Palette);
AdjustForm.UpdateGradient(Palette);
if EditForm.Visible then EditForm.UpdateDisplay;
// if AdjustForm.Visible then AdjustForm.UpdateDisplay;
if AdjustForm.Visible then AdjustForm.UpdateDisplay;
if MutateForm.Visible then MutateForm.UpdateDisplay;
MainForm.RedrawTimer.enabled := true;
end;