View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0006067 | The Dark Mod | GUI | public | 08.08.2022 17:36 | 08.08.2022 17:36 | 
| Reporter | Geep | Assigned To | |||
| Priority | normal | Severity | normal | Reproducibility | always | 
| Status | new | Resolution | open | ||
| Product Version | TDM 2.10 | ||||
| Summary | 0006067: Gamma Standard Picture not showing | ||||
| Description | In the Settings/Video menu, mousing over the Gamma or Brightness controls should bring up a somewhat-sticky "Gamma Standards Picture" to the left. This is not happening in 2.10 Cause: In mainmenu_settings_video.gui, the addition of a tooltip macro in two places disables a preceding onMouseEnter handler. General discussion of this type of problem is in just-posted page https://wiki.thedarkmod.com/index.php?title=GUI_Scripting:Tooltip_Macro. | ||||
| Steps To Reproduce | As stated above. | ||||
| Additional Information | Fix is as shown below. For each sliderDef, this involved merging the functionality of the 2 onMouseEnter handlers, and adding explicit onMouseExit sliderDef Gamma { rect SETTINGS_X_OFFSET-1, 92, 71, 8 forecolor 0.8, 1, 1, 1 matcolor 1, 1, 1, 1 low 0.5 high 2.0 step 0.1 thumbShader "guis/assets/mainmenu/buttons_settingsmenu/slider_bar1" cvar "r_postprocess_gamma" onMouseEnter { if ("GammaStandardPicture::visible" == 0) { resetTime "AnimGammaUp" 0 } showToolTip("#str_menu_gamma_tooltip"); } onMouseExit { hideToolTip(); } //toolTip("#str_menu_gamma_tooltip") } ... sliderDef Brightness { rect SETTINGS_X_OFFSET-1, 109, 71, 8 forecolor 0.8, 1, 1, 1 matcolor 1, 1, 1, 1 low 0.5 high 2.0 step 0.1 thumbShader "guis/assets/mainmenu/buttons_settingsmenu/slider_bar1" cvar "r_postprocess_brightness" onMouseEnter { if ("GammaStandardPicture::visible" == 0) { resetTime "AnimGammaUp" 0 } showToolTip("#str_menu_brightness_tooltip"); } onMouseExit { hideToolTip(); } //toolTip("#str_menu_brightness_tooltip") } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 08.08.2022 17:36 | Geep | New Issue | 
