fix: process drag release events in scrollbar_v
This commit is contained in:
		
							parent
							
								
									87ffe80c91
								
							
						
					
					
						commit
						5ca96aa328
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -77,6 +77,9 @@ pub fn receive(self: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {
 | 
			
		|||
    } else if (try m.match(.{ "B", nc.event_type.RELEASE, tp.more })) {
 | 
			
		||||
        self.active = false;
 | 
			
		||||
        return true;
 | 
			
		||||
    } else if (try m.match(.{ "D", nc.event_type.RELEASE, tp.more })) {
 | 
			
		||||
        self.active = false;
 | 
			
		||||
        return true;
 | 
			
		||||
    } else if (try m.match(.{ "H", tp.extract(&self.hover) })) {
 | 
			
		||||
        self.active = false;
 | 
			
		||||
        return true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue