GUI: why is the range wrong
This commit is contained in:
		
							parent
							
								
									2a0d76563d
								
							
						
					
					
						commit
						be06fe2400
					
				| 
						 | 
				
			
			@ -1609,7 +1609,7 @@ void FurnaceGUI::drawSampleEdit() {
 | 
			
		|||
            posX=samplePos+pos.x*sampleZoom;
 | 
			
		||||
            if (posX>(int)sample->samples) posX=-1;
 | 
			
		||||
          }
 | 
			
		||||
          posY=(0.5-pos.y/rectSize.y)*((sample->depth==DIV_SAMPLE_DEPTH_8BIT)?255:32767);
 | 
			
		||||
          posY=(0.5-pos.y/rectSize.y)*((sample->depth==DIV_SAMPLE_DEPTH_8BIT)?255:65535);
 | 
			
		||||
          if (posX>=0) {
 | 
			
		||||
            statusBar2=fmt::sprintf("(%d, %d)",posX,posY);
 | 
			
		||||
          }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue