File diff r11518:6c02f3322c23 → r11519:80d5a7e0eeb8
src/autoreplace_gui.cpp
Show inline comments
 
@@ -399,13 +399,13 @@ public:
 
		this->update_left  = true;
 
		this->update_right = true;
 
		this->init_lists   = true;
 
		this->SetDirty();
 
	}
 

	
 
	virtual void OnResize(Point new_size, Point delta) {
 
	virtual void OnResize(Point delta) {
 
		this->vscroll.cap  += delta.y / (int)this->resize.step_height;
 
		this->vscroll2.cap += delta.y / (int)this->resize.step_height;
 

	
 
		Widget *widget = this->widget;
 

	
 
		widget[RVW_WIDGET_LEFT_MATRIX].data = widget[RVW_WIDGET_RIGHT_MATRIX].data = (this->vscroll2.cap << 8) + 1;