mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Prevent flickering
This commit is contained in:
		
							parent
							
								
									21364b7cd1
								
							
						
					
					
						commit
						c73378744f
					
				
					 3 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -71,7 +71,7 @@ sub on_instances_moved {
 | 
			
		|||
sub repaint {
 | 
			
		||||
    my ($self, $event) = @_;
 | 
			
		||||
    
 | 
			
		||||
    my $dc = Wx::PaintDC->new($self);
 | 
			
		||||
    my $dc = Wx::AutoBufferedPaintDC->new($self);
 | 
			
		||||
    my $size = $self->GetSize;
 | 
			
		||||
    my @size = ($size->GetWidth, $size->GetHeight);
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue