small fixes to the gradient editor.
This commit is contained in:
		@ -410,7 +410,7 @@ begin
 | 
				
			|||||||
    BM.Assign(Render.GetImage);
 | 
					    BM.Assign(Render.GetImage);
 | 
				
			||||||
    PreviewImage.Picture.Graphic := bm;
 | 
					    PreviewImage.Picture.Graphic := bm;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    PreviewImage.Refresh; // --Z-- why was commented out? ;-)
 | 
					//    PreviewImage.Refresh; // --Z-- why was commented out? ;-)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//--begin DrawPalette
 | 
					//--begin DrawPalette
 | 
				
			||||||
    BitMap := TBitMap.Create;
 | 
					    BitMap := TBitMap.Create;
 | 
				
			||||||
@ -1037,7 +1037,7 @@ begin
 | 
				
			|||||||
  if EditForm.visible then EditForm.UpdateDisplay;
 | 
					  if EditForm.visible then EditForm.UpdateDisplay;
 | 
				
			||||||
  if MutateForm.Visible then MutateForm.UpdateDisplay;
 | 
					  if MutateForm.Visible then MutateForm.UpdateDisplay;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  DrawPreview; //hmm
 | 
					//  DrawPreview; //hmm
 | 
				
			||||||
  MainForm.RedrawTimer.enabled := true;
 | 
					  MainForm.RedrawTimer.enabled := true;
 | 
				
			||||||
end;
 | 
					end;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -1078,7 +1078,7 @@ begin
 | 
				
			|||||||
//  DrawPalette;
 | 
					//  DrawPalette;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  cp.copy(MainCp);
 | 
					  cp.copy(MainCp);
 | 
				
			||||||
{//?}  DrawPreview;
 | 
					//  DrawPreview;
 | 
				
			||||||
end;
 | 
					end;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
procedure HSVToRGB(H, S, V: real; var Rb, Gb, Bb: integer);
 | 
					procedure HSVToRGB(H, S, V: real; var Rb, Gb, Bb: integer);
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user