mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
adjust comment
This commit is contained in:
parent
c02ef8f956
commit
324a43c277
@ -156,7 +156,7 @@ set_time_units(int unit_mask) {
|
||||
// Function: WinStatsGraph::set_scroll_speed
|
||||
// Access: Public
|
||||
// Description: Called when the user selects a new scroll speed from
|
||||
// the moniotr pulldown menu, this should adjust the
|
||||
// the monitor pulldown menu, this should adjust the
|
||||
// speed for the graph to the indicated value.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void WinStatsGraph::
|
||||
|
@ -142,11 +142,12 @@ set_time_units(int unit_mask) {
|
||||
// Function: WinStatsStripChart::set_scroll_speed
|
||||
// Access: Public
|
||||
// Description: Called when the user selects a new scroll speed from
|
||||
// the moniotr pulldown menu, this should adjust the
|
||||
// the monitor pulldown menu, this should adjust the
|
||||
// speed for the graph to the indicated value.
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void WinStatsStripChart::
|
||||
set_scroll_speed(float scroll_speed) {
|
||||
// The speed factor indicates chart widths per minute.
|
||||
if (scroll_speed != 0.0f) {
|
||||
set_horizontal_scale(60.0f / scroll_speed);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user