Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benfry/processing4
/ setCurrentX
Method
setCurrentX
java/src/processing/mode/java/tweak/Handle.java:135–142 ·
view source on GitHub ↗
(int mx)
Source
from the content-addressed store, hash-verified
133
134
135
public
void
setCurrentX(
int
mx) {
136
xLast = xCurrent;
137
xCurrent = mx;
138
139
progBar.setPos(xCurrent - xCenter);
140
141
updateValue();
142
}
143
144
145
public
void
resetProgress() {
Callers
1
mouseDragged
Method · 0.80
Calls
2
updateValue
Method · 0.95
setPos
Method · 0.45
Tested by
no test coverage detected