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

@ -2958,10 +2958,8 @@ begin
MainCp.cmap := cp.cmap;
MainForm.RedrawTimer.enabled := true;
if EditForm.Visible then EditForm.UpdateDisplay;
// if AdjustForm.Visible then AdjustForm.UpdateDisplay;
if AdjustForm.Visible then AdjustForm.UpdateDisplay;
if MutateForm.Visible then MutateForm.UpdateDisplay;
// if GradientForm.Visible then GradientForm.UpdateGradient(cmap)
if AdjustForm.Visible then AdjustForm.UpdateGradient(cmap)
end;
{ ******************************* functions ********************************** }