Get rid of cursors in preview panels.
This commit is contained in:
parent
bbf5ad6160
commit
b054e59a41
|
@ -90,6 +90,7 @@ PANEL_EESCHEMA_COLOR_SETTINGS::PANEL_EESCHEMA_COLOR_SETTINGS( EDA_DRAW_FRAME* aF
|
||||||
|
|
||||||
KIGFX::GAL_DISPLAY_OPTIONS options;
|
KIGFX::GAL_DISPLAY_OPTIONS options;
|
||||||
options.ReadConfig( *common_settings, app_settings->m_Window, this );
|
options.ReadConfig( *common_settings, app_settings->m_Window, this );
|
||||||
|
options.m_forceDisplayCursor = false;
|
||||||
|
|
||||||
auto type = static_cast<EDA_DRAW_PANEL_GAL::GAL_TYPE>( app_settings->m_Graphics.canvas_type );
|
auto type = static_cast<EDA_DRAW_PANEL_GAL::GAL_TYPE>( app_settings->m_Graphics.canvas_type );
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,7 @@ SYMBOL_PREVIEW_WIDGET::SYMBOL_PREVIEW_WIDGET( wxWindow* aParent, KIWAY& aKiway,
|
||||||
auto app_settings = Pgm().GetSettingsManager().GetAppSettings<EESCHEMA_SETTINGS>();
|
auto app_settings = Pgm().GetSettingsManager().GetAppSettings<EESCHEMA_SETTINGS>();
|
||||||
|
|
||||||
m_galDisplayOptions.ReadConfig( *common_settings, app_settings->m_Window, this );
|
m_galDisplayOptions.ReadConfig( *common_settings, app_settings->m_Window, this );
|
||||||
|
m_galDisplayOptions.m_forceDisplayCursor = false;
|
||||||
|
|
||||||
EDA_DRAW_PANEL_GAL::GAL_TYPE canvasType = aCanvasType;
|
EDA_DRAW_PANEL_GAL::GAL_TYPE canvasType = aCanvasType;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue