removed polyrail doubleclick setting due to its proper handling in new polyrail
--HG-- branch : novattd150
This commit is contained in:
@@ -1527,7 +1527,7 @@ static SettingsContainer &GetSettingsTree()
|
||||
viewports->Add(new SettingEntry("gui.cb_distance_check"));
|
||||
viewports->Add(new SettingEntry("gui.old_depot_train_length_calc"));
|
||||
viewports->Add(new SettingEntry("gui.enable_extra_tooltips"));
|
||||
viewports->Add(new SettingEntry("gui.polyrail_double_click"));
|
||||
// viewports->Add(new SettingEntry("gui.polyrail_double_click"));
|
||||
}
|
||||
|
||||
SettingsPage *construction = interface->Add(new SettingsPage(STR_CONFIG_SETTING_INTERFACE_CONSTRUCTION));
|
||||
|
||||
@@ -1102,7 +1102,6 @@ static void DrawTileSelection(const TileInfo *ti)
|
||||
if (type < HT_DIR_END) {
|
||||
DrawAutorailSelection(ti, type);
|
||||
} else if (_thd.dir2 < HT_DIR_END) {
|
||||
/* FIXME mb missing condition (_thd.drawstyle & HT_POLY) */
|
||||
type = GetPartOfAutoLine(ti->x, ti->y, _thd.selstart2, _thd.selend2, _thd.dir2);
|
||||
if (type < HT_DIR_END) DrawAutorailSelection(ti, type, PALETTE_SEL_TILE_BLUE);
|
||||
}
|
||||
@@ -2214,7 +2213,6 @@ bool HandleViewportClicked(const ViewPort *vp, int x, int y, bool double_click)
|
||||
* If however the user double-clicks on a line that has a white and a blue section,
|
||||
* both lines (white and blue) will be constructed consecutively. */
|
||||
static bool stop_snap_on_double_click = false;
|
||||
/* FIXME _settings_client.gui.polyrail_double_click */
|
||||
if (double_click && stop_snap_on_double_click) {
|
||||
SetRailSnapMode(RSM_NO_SNAP);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user