Changes

m
Text replacement - "''e.g.''," to "''e.g.,''"
Line 161: Line 161:  
  |old events = GraphicsEvents.OnPostRenderEvent
 
  |old events = GraphicsEvents.OnPostRenderEvent
 
  |new events = Display.Rendered
 
  |new events = Display.Rendered
  |summary    = Equivalent, except the new event isn't triggered during certain special cutscenes and minigames (''e.g.'', the [[Sebastian#Six Hearts|board game scene]]).
+
  |summary    = Equivalent, except the new event isn't triggered during certain special cutscenes and minigames (''e.g.,'' the [[Sebastian#Six Hearts|board game scene]]).
 
}}
 
}}
 
{{/event
 
{{/event
Line 219: Line 219:  
  |old events = MenuEvents.MenuChanged, MenuEvents.MenuClosed
 
  |old events = MenuEvents.MenuChanged, MenuEvents.MenuClosed
 
  |new events = Display.MenuChanged
 
  |new events = Display.MenuChanged
  |summary    = These caused a lot of confusion (''e.g.'', <samp>MenuEvents.MenuClosed</samp> wasn't called when a menu was closed and immediately replaced), so they've been combined into one event which is called when a menu is opened, closed, or replaced. You can check the <samp>e.OldMenu</samp> and <samp>e.NewMenu</samp> event args to know what the change is (''e.g.'', to match the old <samp>MenuEvents.MenuClosed</samp>, check <code>if (e.NewMenu == null)</code>).
+
  |summary    = These caused a lot of confusion (''e.g.,'' <samp>MenuEvents.MenuClosed</samp> wasn't called when a menu was closed and immediately replaced), so they've been combined into one event which is called when a menu is opened, closed, or replaced. You can check the <samp>e.OldMenu</samp> and <samp>e.NewMenu</samp> event args to know what the change is (''e.g.,'' to match the old <samp>MenuEvents.MenuClosed</samp>, check <code>if (e.NewMenu == null)</code>).
 
}}
 
}}
 
{{/event
 
{{/event
105,853

edits